[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetIntArray

TryGetIntArray Method

TryGetIntArray(IPdfDict, PdfName, out int[], bool)

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

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

The current dictionary.

PdfName key

The key identifying the value.

int[] value

OUT: The array of int.

bool singleToArray

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

Returns
Type Description
bool

true if successful; false otherwise.