[]
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.
public static bool TryGetAtPath<T>(IPdfDict dict, out T value, out bool isNull, bool addWarning, params object[] path) where T : IPdfObject
Public Shared Function TryGetAtPath(Of T As IPdfObject)(dict As IPdfDict, ByRef value As T, ByRef isNull As Boolean, addWarning As Boolean, ParamArray path As Object()) As Boolean
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
T | value | OUT: The value. |
bool | isNull | OUT: Indicates whether the value is PDF null. |
bool | addWarning | Indicates whether to add a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if errors occur. |
object[] | path | The path to the value. |
Type | Description |
---|---|
bool | The value associated with the specified path, or null if the value could not be found. |
Name | Description |
---|---|
T |