Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfArrayHolderExt Class / ToFloatArray Method / ToFloatArray(IPdfArrayHolder,Single) Method
The current PDF array holder.
The default value for items that cannot be converted to floats.

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

    Uses defItemValue for values that cannot be converted to floats.

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

    Parameters

    pah
    The current PDF array holder.
    defItemValue
    The default value for items that cannot be converted to floats.

    Return Value

    A float array containing values from this array.
    See Also