GetStringWidth
The GetStringWidth function returns the width in pixel of a string using a font.
Syntax :
GetStringWidth(Text,Font)
Parameters | Description |
---|---|
text | Required. Text. |
font | A design for a set of string. |
Example :
iStringWidth = GetStringWidth(fld.Text,fld.Font
- It will return the width in pixels of the text in fld.