[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetStringArray

TryGetStringArray Method

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

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

Declaration
public static bool TryGetStringArray(this IPdfDict dict, PdfName key, out string[] value, bool singleToArray = false)
Public Shared Function TryGetStringArray(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 string.

bool singleToArray

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

Returns
Type Description
bool

true if successful; false otherwise.