[]
Finds a font in the current collection with the specified values of FontName, Bold and Italic properties.
public DocumentFont FindByName(string fontName, bool bold, bool italic)
Type | Name | Description |
---|---|---|
string | fontName | The FontName 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. |