TextWidth

 

Purpose:

Returns the text width with the corresponding font.

Parameter:

String          Text

String          Font in the form of '{(0,0,0),12,0,0,0,0,400,0,0,0,0,40,0,0,0, Arial}' – the size in pt, followed by the values of the LOGFONT structure values.

Return value:

Number