Measures the height of the specified text in a specified width at run time.
Syntax
'Declaration
Public Overloads Function MeasureParagraphHeight( _
ByVal As String, _
ByVal As Single _
) As SizeF
public SizeF MeasureParagraphHeight(
string ,
float
)
Parameters
- strText
Text string to be measured.
- width
- Width of the text (in inches).
See Also