Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontCollection Class / FindFamilyName Method / FindFamilyName(String,Boolean,Boolean) Method
The font family name. Up to four fonts can share the same font family name.
Indicates whether the font should be bold.
Indicates whether 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 whether the font should be bold.
    italic
    Indicates whether the font should contain Italic characters.

    Return Value

    The corresponding Font or null.
    See Also