[]
Gets a section from a font data collection by the font name and characteristics.
public FontData FindFont(string fontName, bool bold, bool italic)
| Type | Name | Description |
|---|---|---|
| string | fontName | The font name. |
| bool | bold | The bold font characteristic. |
| bool | italic | The italic font characteristic. |
| Type | Description |
|---|---|
| FontData | Returns null if section not found. |
Gets a section from a font data collection by the font.
public FontData FindFont(Font font, bool strictly = false)
| Type | Name | Description |
|---|---|---|
| Font | font | The font object. |
| bool | strictly | Whether strictly compare or no. |
| Type | Description |
|---|---|
| FontData | Returns null if section not found. |