[]
Searches for a font with the specified name and charset, which exactly matches the specified bold/italic styles.
public EmbeddedFont FindFont(string name, int charSet, bool bold, bool italic)
Type | Name | Description |
---|---|---|
string | name | The name of the font to search for. |
int | charSet | The charset to search for. |
bool | bold | The bold style to search for. |
bool | italic | The italic style to search for. |
Type | Description |
---|---|
EmbeddedFont | The matching EmbeddedFont, or null if an exact match was not found. |
Searches for a font with the specified name and charset, which exactly matches the specified bold/italic styles.
public EmbeddedFont FindFont(string name, int charSet, FontStyle fontStyle)
Type | Name | Description |
---|---|---|
string | name | The name of the font to search for. |
int | charSet | The charset to search for. |
FontStyle | fontStyle | The style of the font to match. |
Type | Description |
---|---|
EmbeddedFont | The matching EmbeddedFont, or null if an exact match was not found. |