Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / AsRefArray Method
The current array.
Indicates whether the IPdfNull should be processed as valid value and converted to a null reference (Nothing in Visual Basic).

In This Topic
    AsRefArray Method
    In This Topic
    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.

    Syntax
    'Declaration
     
    Public Shared Function AsRefArray( _
       ByVal array As IPdfArray, _
       Optional ByVal allowNull As System.Boolean _
    ) As IPdfRef()
    public static IPdfRef[] AsRefArray( 
       IPdfArray array,
       System.bool allowNull
    )

    Parameters

    array
    The current array.
    allowNull
    Indicates whether the IPdfNull should be processed as valid value and converted to a null reference (Nothing in Visual Basic).

    Return Value

    An array of IPdfRef containing all values from this array.
    See Also