[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfArrayExt.AsRefArray

AsRefArray Method

AsRefArray(IPdfArray, bool)

Converts all elements of this IPdfArray to IPdfRef, and copies the converted values to a new array of IPdfRef.

Returns null if some elements can't be converted to a IPdfRef.

Declaration
public static IPdfRef[] AsRefArray(this IPdfArray array, bool allowNull = false)
Public Shared Function AsRefArray(array As IPdfArray, Optional allowNull As Boolean = False) As IPdfRef()
Parameters
Type Name Description
IPdfArray array

The current array.

bool allowNull

Indicates whether the IPdfNull should be processed as valid value and converted to null.

Returns
Type Description
IPdfRef[]

An array of IPdfRef containing all values from this array.