Control Reference > VSPrinter Control > VSPrinter Properties > Measure Property |
Returns width and height of a string, in twips, in TextWid and TextHei properties.
[form!]VSPrinter.Measure = value As String
This property is obsolete and is provided for compatibility with old applications. New applications should use the TextWidth and TextHeight properties.
To measure text using the Measure property, assign it the text you want to measure, then read the text width and height, in twips, from the TextWid and TextHei properties.
String