Control Reference > VSPrinter Control > VSPrinter Properties > TextHeight Property (VSPrinter) |
Returns the height of a string, in twips.
val# = [form!]VSPrinter.TextHeight(Text As String)
This property does not take into account word wrapping or the settings of the SpaceBefore and SpaceAfter properties. To measure formatted text, use the CalcParagraph or CalcText properties instead.
Double