Measure font size for the text of this document.
'Declaration
Public Function MeasureFontSize( _
ByVal As System.String, _
ByVal As System.Drawing.Font, _
ByVal As System.Double _
) As System.Drawing.Font
public System.Drawing.Font MeasureFontSize(
System.string ,
System.Drawing.Font ,
System.double
)
Parameters
- text
- The drawing string.
- font
- The drawing base font.
- width
- The current size in points for fit the drawing string.
Return Value
The new drawing font with calculated font size.