[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetNameArray

SetNameArray Method

SetNameArray(IPdfDict, PdfName, string[], bool)

Sets or removes the PDF name array associated with a specified key.

If the specified value is null, the value is removed from the current dictionary. Otherwise the value is set.

Declaration
public static void SetNameArray(this IPdfDict dict, PdfName key, string[] value, bool singleToArray = true)
Public Shared Sub SetNameArray(dict As IPdfDict, key As PdfName, value As String(), Optional singleToArray As Boolean = True)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

string[] value

The value to set.

bool singleToArray

If true and value contains exactly one element, the array will be stored as a simple PDF name object.