[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetAtPath

GetAtPath Method

GetAtPath<T>(IPdfDict, params object[])

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.

Declaration
public static T GetAtPath<T>(this IPdfDict dict, params object[] path) where T : IPdfObject
Public Shared Function GetAtPath(Of T As IPdfObject)(dict As IPdfDict, ParamArray path As Object()) As T
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

object[] path

The path to the value.

Returns
Type Description
T

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

Type Parameters
Name Description
T