[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.EmbeddedFontCollection.TryGetValue

TryGetValue Method

TryGetValue(EmbeddedFontType, out EmbeddedFont)

Tries to get an embedded font with a specified type from this collection.

Declaration
public bool TryGetValue(EmbeddedFontType type, out EmbeddedFont font)
Public Function TryGetValue(type As EmbeddedFontType, ByRef font As EmbeddedFont) As Boolean
Parameters
Type Name Description
EmbeddedFontType type

The type of the embedded font.

EmbeddedFont font

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

Returns
Type Description
bool

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