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

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

    Parameters

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

    Return Value

    The array associated with the specified key, or null.
    See Also