Measure string for the RTF document.
'Declaration
Public Overloads Function MeasureString( _
ByVal As System.String, _
ByVal As Font, _
ByVal As System.Double _
) As System.Windows.Size
public System.Windows.Size MeasureString(
System.string ,
Font ,
System.double
)
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.