Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / TryGetStringArray Method
The current dictionary.
The key identifying the value.
OUT: The array of string.
Indicates whether to convert a single string value to an array.

In This Topic
    TryGetStringArray Method
    In This Topic
    Tries to get the string array associated with the specified key.
    Syntax
    'Declaration
     
    Public Shared Function TryGetStringArray( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByRef value() As System.String, _
       Optional ByVal singleToArray As System.Boolean _
    ) As System.Boolean
    public static System.bool TryGetStringArray( 
       IPdfDict dict,
       PdfName key,
       out System.string[] value,
       System.bool singleToArray
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the value.
    value
    OUT: The array of string.
    singleToArray
    Indicates whether to convert a single string value to an array.

    Return Value

    true if successful; false otherwise.
    See Also