Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayExt Class / AsArray<T> Method
The current array.

In This Topic
    AsArray<T> Method
    In This Topic
    Converts all elements of this IPdfArray to T, and copies the converted values to a new array of T.

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

    Syntax
    'Declaration
     
    Public Shared Function AsArray(Of T As IPdfObject)( _
       ByVal array As IPdfArray _
    ) As T()
    public static T[] AsArray<T>( 
       IPdfArray array
    )
    where T: IPdfObject

    Parameters

    array
    The current array.

    Type Parameters

    T

    Return Value

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