Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / TryGetName Method
The current dictionary.
The key identifying the value.
OUT. When this method returns, contains the PDF Name value.

In This Topic
    TryGetName Method (IPdfDictExt)
    In This Topic
    Tries to get the PDF Name value associated with the specified key. If the value does not exist or cannot be converted to a PDF Name, returns false.
    Syntax
    'Declaration
     
    Public Shared Function TryGetName( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByRef value As System.String _
    ) As System.Boolean
    public static System.bool TryGetName( 
       IPdfDict dict,
       PdfName key,
       out System.string value
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the value.
    value
    OUT. When this method returns, contains the PDF Name value.

    Return Value

    true if value exists; otherwise, false.
    See Also