[]
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.
public static IPdfRef[] AsRefArray(this IPdfArray array, bool allowNull = false)
Public Shared Function AsRefArray(array As IPdfArray, Optional allowNull As Boolean = False) As IPdfRef()
| Type | Name | Description |
|---|---|---|
| IPdfArray | array | The current array. |
| bool | allowNull | Indicates whether the IPdfNull should be processed as valid value and converted to null. |
| Type | Description |
|---|---|
| IPdfRef[] | An array of IPdfRef containing all values from this array. |