Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / TryGetAtPath<T> Method
The current dictionary.
OUT: The value.
OUT: Indicates whether the value is PDF null.
Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if errors occur.
The path to the value.

In This Topic
    TryGetAtPath<T> Method
    In This Topic
    Gets the value at the specified path. The path can contain IPdfName objects which are interpreted as dictionary keys, or integers which are interpreted as IPdfArray indices.
    Syntax
    'Declaration
     
    Public Shared Function TryGetAtPath(Of T As IPdfObject)( _
       ByVal dict As IPdfDict, _
       ByRef value As T, _
       ByRef isNull As System.Boolean, _
       ByVal addWarning As System.Boolean, _
       ByVal ParamArray path() As System.Object _
    ) As System.Boolean
    public static System.bool TryGetAtPath<T>( 
       IPdfDict dict,
       out T value,
       out System.bool isNull,
       System.bool addWarning,
       params System.object[] path
    )
    where T: IPdfObject

    Parameters

    dict
    The current dictionary.
    value
    OUT: The value.
    isNull
    OUT: Indicates whether the value is PDF null.
    addWarning
    Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if errors occur.
    path
    The path to the value.

    Type Parameters

    T

    Return Value

    The value associated with the specified path, or null if the value could not be found.
    See Also