
November 21st, 2003, 12:54 AM
|
|
Junior Member
|
|
Join Date: Nov 2003
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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?
|