[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FontInfoCollection.TryGetValue

TryGetValue Method

TryGetValue(string, out FontInfo)

Tries to get a font from the collection by its primary name.

Declaration
public bool TryGetValue(string name, out FontInfo item)
Parameters
Type Name Description
string name

The font primary name.

FontInfo item

OUT: if this method returns true, contains the font with the specified primary name, otherwise null.

Returns
Type Description
bool

true if a font with the specified primary name was found, otherwise false.