Editar

Compartilhar via


CGPDFArray.GetFloat Method

Definition

Overloads

GetFloat(nint, nfloat)
GetFloat(Int32, nfloat)

Returns the float element in the array at the specified index.

GetFloat(nint, nfloat)

public bool GetFloat (nint idx, out nfloat result);
member this.GetFloat : nint *  -> bool

Parameters

idx
System.System.IntPtr System.nativeint
result
nfloat

Returns

Applies to

GetFloat(Int32, nfloat)

Returns the float element in the array at the specified index.

public bool GetFloat (int idx, out nfloat result);
member this.GetFloat : int *  -> bool

Parameters

idx
Int32

Index for the element we want to access.

result
nfloat

If the element at position idx is a float value, this will contain the resulting value.

Returns

True if the element at the given position is of the specified type and the result is set on the out parameter; False if you tried to access an out of bounds element, or if the element at that position is of a different type.

Applies to