Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / TryGetRealValue Method
The current PDF dictionary holder.
The key of the value to get.
OUT: the resolved value, or null if the key was not found.

In This Topic
    TryGetRealValue Method
    In This Topic
    Tries to get the value associated with the specified key. If the value is a reference to an indirect PDF object, resolves the reference and gets the value of the indirect object.
    Syntax
    'Declaration
     
    Public Shared Function TryGetRealValue( _
       ByVal pdh As IPdfDictHolder, _
       ByVal key As System.String, _
       ByRef value As System.Object _
    ) As System.Boolean
    public static System.bool TryGetRealValue( 
       IPdfDictHolder pdh,
       System.string key,
       out System.object value
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    key
    The key of the value to get.
    value
    OUT: the resolved value, or null if the key was not found.

    Return Value

    True if the key was found, false otherwise.
    See Also