[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfArrayExt.TryGetNameArrayStr

TryGetNameArrayStr Method

TryGetNameArrayStr(IPdfArray, int, out string[], bool)

Tries to get the PDF Name array at the specified index, the PDF Name array represented as string.

Declaration
public static bool TryGetNameArrayStr(this IPdfArray array, int index, out string[] value, bool singleToArray = false)
Public Shared Function TryGetNameArrayStr(array As IPdfArray, index As Integer, ByRef value As String(), 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.

string[] value

OUT: The string 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.