[]
Finds a font in the current collection with the specified values of FontFamilyName, Bold and Italic properties.
public DocumentFont FindByFamilyName(string fontFamilyName, bool bold, bool italic)
Type | Name | Description |
---|---|---|
string | fontFamilyName | The FontFamilyName to search for. |
bool | bold | The Bold value to search for. |
bool | italic | The Italic value to search for. |
Type | Description |
---|---|
DocumentFont | The font with the specified properties, or null. |