[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetBoolArray

TryGetBoolArray Method

TryGetBoolArray(IPdfDict, PdfName, out bool[], bool)

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

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

The current dictionary.

PdfName key

The key identifying the value.

bool[] value

OUT: The array of bool.

bool singleToArray

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

Returns
Type Description
bool

true if successful; false otherwise.