Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / EmbeddedFontCollection Class / TryGetValue Method
The type of the embedded font.
OUT: if this method returns true, contains the embedded font with the specified type, otherwise a null reference (Nothing in Visual Basic).

In This Topic
    TryGetValue Method (EmbeddedFontCollection)
    In This Topic
    Tries to get an embedded font with a specified type from this collection.
    Syntax
    'Declaration
     
    Public Function TryGetValue( _
       ByVal type As EmbeddedFontType, _
       ByRef font As EmbeddedFont _
    ) As System.Boolean
    public System.bool TryGetValue( 
       EmbeddedFontType type,
       out EmbeddedFont font
    )

    Parameters

    type
    The type of the embedded font.
    font
    OUT: if this method returns true, contains the embedded font with the specified type, otherwise a null reference (Nothing in Visual Basic).

    Return Value

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