[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetFloatArray

GetFloatArray Method

GetFloatArray(IPdfDict, PdfName, bool)

Gets the float array associated with the specified key. Returns null if the array does not exist or cannot be converted to a float array.

Declaration
public static float[] GetFloatArray(this IPdfDict dict, PdfName key, bool singleToArray = false)
Public Shared Function GetFloatArray(dict As IPdfDict, key As PdfName, Optional singleToArray As Boolean = False) As Single()
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

bool singleToArray

Indicates whether to convert a single float value to an array.

Returns
Type Description
float[]

The array associated with the specified key, or null.