[]
        
(Showing Draft Content)

C1.C1Preview.DocumentFontCollection.FindByFamilyName

FindByFamilyName Method

FindByFamilyName(string, bool, bool)

Finds a font in the current collection with the specified values of FontFamilyName, Bold and Italic properties.

Declaration
public DocumentFont FindByFamilyName(string fontFamilyName, bool bold, bool italic)
Parameters
Type Name Description
string fontFamilyName

The FontFamilyName to search for.

bool bold

The Bold value to search for.

bool italic

The Italic value to search for.

Returns
Type Description
DocumentFont

The font with the specified properties, or null.