[]
Searches for a font with the specified family name and style.
Font FindFamilyName(string fontFamilyName, bool bold = false, bool italic = false)
Function FindFamilyName(fontFamilyName As String, Optional bold As Boolean = False, Optional italic As Boolean = False) As Font
Type | Name | Description |
---|---|---|
string | fontFamilyName | The font family name. Up to four fonts can share the same font family name. |
bool | bold | Indicates if the font should be embolded. |
bool | italic | Indicates if the font should contain Italic characters. |
Searches for a font from the set of allowable font family names and the specified style.
Font FindFamilyName(string[] fontFamilyNames, bool bold = false, bool italic = false)
Function FindFamilyName(fontFamilyNames As String(), Optional bold As Boolean = False, Optional italic As Boolean = False) As Font
Type | Name | Description |
---|---|---|
string[] | fontFamilyNames | The array of allowable font family name. |
bool | bold | Indicates if the font should be embolded. |
bool | italic | Indicates if the font should contain Italic characters. |