[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetFloatArray

TryGetFloatArray Method

TryGetFloatArray(IPdfDict, PdfName, out float[], bool)

Tries to get the float array associated with the specified key.

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

The current dictionary.

PdfName key

The key identifying the value.

float[] value

OUT: The array of float.

bool singleToArray

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

Returns
Type Description
bool

true if successful; false otherwise.