[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfArrayExt.AsArray

AsArray Method

AsArray<T>(IPdfArray)

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.

Declaration
public static T[] AsArray<T>(this IPdfArray array) where T : IPdfObject
Public Shared Function AsArray(Of T As IPdfObject)(array As IPdfArray) As T()
Parameters
Type Name Description
IPdfArray array

The current array.

Returns
Type Description
T[]

An array of T containing all values from this array.

Type Parameters
Name Description
T