Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / FontHandlerCollection Class / TryGetFontHandler Method
The raw font.
OUT: the PdfFont object, or null.

In This Topic
    TryGetFontHandler Method
    In This Topic
    Gets the FontHandler associated with a specified GrapeCity.Documents.Text.Font.
    Syntax
    'Declaration
     
    Public Function TryGetFontHandler( _
       ByVal font As Font, _
       ByRef pdfFont As FontHandler _
    ) As System.Boolean
    public System.bool TryGetFontHandler( 
       Font font,
       out FontHandler pdfFont
    )

    Parameters

    font
    The raw font.
    pdfFont
    OUT: the PdfFont object, or null.

    Return Value

    True if a PdfFont was found, false otherwise.
    See Also