[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfArrayExt.TryGetNameArray

TryGetNameArray Method

TryGetNameArray(IPdfArray, int, out PdfName[], bool)

Tries to get the PDF Name array at the specified index.

Declaration
public static bool TryGetNameArray(this IPdfArray array, int index, out PdfName[] value, bool singleToArray = false)
Public Shared Function TryGetNameArray(array As IPdfArray, index As Integer, ByRef value As PdfName(), Optional singleToArray As Boolean = False) As Boolean
Parameters
Type Name Description
IPdfArray array

The current array.

int index

The index of the value to get.

PdfName[] value

OUT: The PDF Name array.

bool singleToArray

Indicates whether to convert a single PDF Name value to an array.

Returns
Type Description
bool

true if value at specified index can be converted to an integer array; otherwise false.