Searches for a font with the specified name and charset, which exactly matches the specified bold/italic styles.
'Declaration
Public Overloads Function FindFont( _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal As System.Drawing.FontStyle _
) As EmbeddedFont
public EmbeddedFont FindFont(
System.string ,
System.int ,
System.Drawing.FontStyle
)
Parameters
- name
- The name of the font to search for.
- charSet
- The charset to search for.
- fontStyle
- The style of the font to match.
Return Value
The matching
EmbeddedFont, or
null if an exact match was not found.