MeasureString(String,Font,Double) Method
Measure string for the RTF document.
'Declaration
Public Overloads Shared Function MeasureString( _
ByVal As String, _
ByVal As Font, _
ByVal As Double _
) As Size
Parameters
- text
- The drawing string.
- font
- The drawing font.
- width
- The drawing width or -1 for default.
Return Value
The size, in points, of the string specified as drawn with the font parameter.