[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetNameArrayStr

TryGetNameArrayStr Method

TryGetNameArrayStr(IPdfDict, PdfName, out string[], bool)

Tries to get the PDF Name array associated with the specified key, the PDF names converted to strings.

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

The current dictionary.

PdfName key

The key identifying the value.

string[] value

OUT: The array of strings.

bool singleToArray

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

Returns
Type Description
bool

The array associated with the specified key, or null.