CGPDFArray.GetBoolean Method

Definition

Overloads

GetBoolean(Int32, Boolean)

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

GetBoolean(nint, Boolean)

GetBoolean(Int32, Boolean)

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

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

Parameters

idx
Int32

Index for the element we want to access.

result
Boolean

If the element at position idx is a boolean, 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

GetBoolean(nint, Boolean)

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

Parameters

idx
System.System.IntPtr System.nativeint
result
Boolean

Returns

Applies to