[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetDictArray

TryGetDictArray Method

TryGetDictArray(IPdfDict, PdfName, out IPdfDict[], bool)

Tries to gets the array of IPdfDict objects associated with the specified key.

Declaration
public static bool TryGetDictArray(this IPdfDict dict, PdfName key, out IPdfDict[] value, bool singleToArray = false)
Public Shared Function TryGetDictArray(dict As IPdfDict, key As PdfName, ByRef value As IPdfDict(), Optional singleToArray As Boolean = False) As Boolean
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the array.

IPdfDict[] value

OUT: The array of IPdfDict.

bool singleToArray

Indicates whether to convert a single IPdfDict value to an array.

Returns
Type Description
bool

true if successful, false otherwise.