Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / EmbeddedFontCollection Class / FindFont Method / FindFont(String,Int32,FontStyle) Method
The name of the font to search for.
The charset to search for.
The style of the font to match.

In This Topic
    FindFont(String,Int32,FontStyle) Method
    In This Topic
    Searches for a font with the specified name and charset, which exactly matches the specified bold/italic styles.
    Syntax
    'Declaration
     
    Public Overloads Function FindFont( _
       ByVal name As String, _
       ByVal charSet As Integer, _
       ByVal fontStyle As FontStyle _
    ) As EmbeddedFont
    public EmbeddedFont FindFont( 
       string name,
       int charSet,
       FontStyle 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.
    See Also