[]
Gets a section from a font data collection by the font name and characteristics.
public FontData FindFont(string fontName, bool bold, bool italic)
Public Function FindFont(fontName As String, bold As Boolean, italic As Boolean) As FontData
| 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.
[CLSCompliant(false)]
public FontData FindFont(Font font, bool strictly = false)
<CLSCompliant(False)>
Public Function FindFont(font As Font, Optional strictly As Boolean = False) As FontData
| Type | Name | Description |
|---|---|---|
| Font | font | The font object. |
| bool | strictly | Whether strictly compare or no. |
| Type | Description |
|---|---|
| FontData | Returns null if section not found. |