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)