[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfArrayExt.TryGetBool

TryGetBool Method

TryGetBool(IPdfArray, int, out bool)

Tries to get the bool value with the specified index.

Declaration
public static bool TryGetBool(this IPdfArray array, int index, out bool value)
Public Shared Function TryGetBool(array As IPdfArray, index As Integer, ByRef value As Boolean) As Boolean
Parameters
Type Name Description
IPdfArray array

The current array.

int index

The index of the value to get.

bool value

OUT: The integer value.

Returns
Type Description
bool

true if value exists and can be converted to an bool; otherwise false.