GetStringHeight
The GetStringHeight function returns the height in pixel of a string using a font.
Syntax :
GetStringHeight(Text,Font,MaxWidth)
Parameters | Description |
---|---|
text | Required. Text. |
font | A design for a set of string. |
maxwidth | Integer. |
Example :
istringheight = GetStringHeight(fld.Text,fld.Font,20)
- It Will return the height in pixels of the text fld with maximum height of 20.