Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayHolderExt Class / ToRefArray Method
The current PDF array holder.

In This Topic
    ToRefArray Method
    In This Topic
    Converts all elements of this PDF array to PdfRefs, and copies the converted values to a new array.

    Throws an exception if any value cannot be converted.

    Syntax
    'Declaration
     
    Public Shared Function ToRefArray( _
       ByVal pah As IPdfArrayHolder _
    ) As PdfRef()
    public static PdfRef[] ToRefArray( 
       IPdfArrayHolder pah
    )

    Parameters

    pah
    The current PDF array holder.

    Return Value

    A PdfRef array containing all values from this array.
    See Also