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

In This Topic
    TryToFloatArray Method
    In This Topic
    Tries to convert all elements of this PDF array to floats, and copies the converted values to a new array of floats.

    If any item cannot be converted, returns null.

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

    Parameters

    pah
    The current PDF array holder.

    Return Value

    A float array containing all values from this array, or null.
    See Also