Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / GetFloatArray Method
The current PDF dictionary holder.
The key of the value to get.
Specifies whether a single float value should be converted to an array.

In This Topic
    GetFloatArray Method
    In This Topic
    Gets the float array associated with the specified key (in a PDF a float array should be represented as a PDF array containing floats). Optionally converts a single float value to an array.

    Throws an exception if the value does not exist or cannot be converted to a float array.

    Syntax
    'Declaration
     
    Public Shared Function GetFloatArray( _
       ByVal pdh As IPdfDictHolder, _
       ByVal key As System.String, _
       Optional ByVal singleToArray As System.Boolean _
    ) As System.Single()
    public static System.float[] GetFloatArray( 
       IPdfDictHolder pdh,
       System.string key,
       System.bool singleToArray
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    key
    The key of the value to get.
    singleToArray
    Specifies whether a single float value should be converted to an array.

    Return Value

    The value associated with the specified key.
    See Also