[]
Measure font size for the text of this document.
public static Font MeasureFontSize(string text, Font font, double width)
Public Shared Function MeasureFontSize(text As String, font As Font, width As Double) As Font
| Type | Name | Description |
|---|---|---|
| string | text | The drawing string. |
| Font | font | The drawing base font. |
| double | width | The current size in points for fit the drawing string. |
| Type | Description |
|---|---|
| Font | The new drawing font with calculated font size. |