[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetRefArray

GetRefArray Method

GetRefArray(IPdfDict, PdfName, bool)

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

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

The current dictionary.

PdfName key

The key identifying the array.

bool singleToArray

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

Returns
Type Description
IPdfRef[]

The array associated with the specified key, or null.