[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfArrayExt.TryGetFloatArray

TryGetFloatArray Method

TryGetFloatArray(IPdfArray, int, out float[], bool)

Tries to get the Float array at the specified index.

Declaration
public static bool TryGetFloatArray(this IPdfArray array, int index, out float[] value, bool singleToArray = false)
Public Shared Function TryGetFloatArray(array As IPdfArray, index As Integer, ByRef value As Single(), Optional singleToArray As Boolean = False) As Boolean
Parameters
Type Name Description
IPdfArray array

The current array.

int index

The index of the value to get.

float[] value

OUT: The float array.

bool singleToArray

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

Returns
Type Description
bool

true if value at specified index can be converted to a float array; otherwise false.