Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayHolderExt Class / ToFloatArray Method / ToFloatArray(IPdfArrayHolder) Method
The current PDF array holder.

In This Topic
    ToFloatArray(IPdfArrayHolder) Method
    In This Topic
    Converts all elements of this PDF array to floats, and copies the converted values to a new array of floats.

    Throws an exception if any value cannot be converted to a float.

    Syntax
    'Declaration
     
    Public Overloads Shared Function ToFloatArray( _
       ByVal pah As IPdfArrayHolder _
    ) As System.Single()
    public static System.float[] ToFloatArray( 
       IPdfArrayHolder pah
    )

    Parameters

    pah
    The current PDF array holder.

    Return Value

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