Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / SetStringArray 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 string object.

In This Topic
    SetStringArray Method
    In This Topic
    Sets or removes the PDF string 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 SetStringArray( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal value As System.Collections.Generic.IEnumerable(Of String), _
       Optional ByVal singleToArray As System.Boolean _
    ) 
    public static void SetStringArray( 
       IPdfDict dict,
       PdfName key,
       System.Collections.Generic.IEnumerable<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 string object.
    See Also