|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Getting the length of string
I'm using Mobile VB to develop an application for my Sony Erricsson P800 running on Symbian OS. How can I get the width (in pixels) of a string using a specific font, size and style?
This can only be done to develop for the PALM device. code:--------------------------------------------------------------------------------AFTextBox1.Text = afExtLib.StringWidth("AFSE UIQ Standard", 15, 0, "1234hello")-------------------------------------------------------------------------------- How can I do something similar for my P800? |
|
#2
|
|||
|
|||
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdrawinggraphicsclassmeasurestringtopic4 .asp
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Getting the length of string |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|