Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / SetNameArray Method
The current dictionary.
The key identifying the value.
The value to set.
If true and value contains exactly one element, the array will be stored as a simple PDF name object.

In This Topic
    SetNameArray Method
    In This Topic
    Sets or removes the PDF name array associated with a specified key.

    If the specified value is a null reference (Nothing in Visual Basic), the value is removed from the current dictionary. Otherwise the value is set.

    Syntax
    'Declaration
     
    Public Shared Sub SetNameArray( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal value() As System.String, _
       Optional ByVal singleToArray As System.Boolean _
    ) 
    public static void SetNameArray( 
       IPdfDict dict,
       PdfName key,
       System.string[] value,
       System.bool singleToArray
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the value.
    value
    The value to set.
    singleToArray
    If true and value contains exactly one element, the array will be stored as a simple PDF name object.
    See Also