Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictHolderExt Class / SetNameArray Method
The current PDF dictionary holder.
The key of the value to set or remove.
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 pdh As IPdfDictHolder, _
       ByVal key As System.String, _
       ByVal value() As System.String, _
       Optional ByVal singleToArray As System.Boolean _
    ) 
    public static void SetNameArray( 
       IPdfDictHolder pdh,
       System.string key,
       System.string[] value,
       System.bool singleToArray
    )

    Parameters

    pdh
    The current PDF dictionary holder.
    key
    The key of the value to set or remove.
    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