[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetDictArray

GetDictArray Method

GetDictArray(IPdfDict, PdfName, bool)

Gets the IPdfDict array associated with the specified key. Returns null if the array does not exist or cannot be converted to an IPdfDict array.

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

The current dictionary.

PdfName key

The key identifying the value.

bool singleToArray

Indicates whether to convert a single IPdfDict to an array.

Returns
Type Description
IPdfDict[]

The array associated with the specified key, or null.