Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / SystemFontCollection Class / FindFamilyName Method / FindFamilyName(String,Boolean,Boolean) Method
The font family name. Up to four fonts can share the same font family name.
Indicates if the font should be embolded.
Indicates if the font should contain Italic characters.

In This Topic
    FindFamilyName(String,Boolean,Boolean) Method
    In This Topic
    Searches for a font with the specified family name and style.
    Syntax
    'Declaration
     
    Public Overloads Function FindFamilyName( _
       ByVal fontFamilyName As System.String, _
       Optional ByVal bold As System.Boolean, _
       Optional ByVal italic As System.Boolean _
    ) As Font
    public Font FindFamilyName( 
       System.string fontFamilyName,
       System.bool bold,
       System.bool italic
    )

    Parameters

    fontFamilyName
    The font family name. Up to four fonts can share the same font family name.
    bold
    Indicates if the font should be embolded.
    italic
    Indicates if the font should contain Italic characters.

    Return Value

    The corresponding Font or null.
    See Also