[]
Gets text measure as SizeF of this font.
[CLSCompliant(false)]
public static SizeF GetMeasure(this Font font, float fontSize, bool bold, bool italic, string text)
<CLSCompliant(False)>
Public Shared Function GetMeasure(font As Font, fontSize As Single, bold As Boolean, italic As Boolean, text As String) As SizeF
| Type | Name | Description |
|---|---|---|
| Font | font | The GrapeCity.Documents.Text.Font object for the extension. |
| float | fontSize | The font size. |
| bool | bold | The bold emulation flag. |
| bool | italic | The italic emulation flag. |
| string | text | The text for measuring. |
| Type | Description |
|---|---|
| SizeF | The size in points of the text for this font. |