Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / GetArray<T> Method
The current dictionary.
The key identifying the array.
Indicates whether to convert a single T value to an array.

In This Topic
    GetArray<T> Method (IPdfDictExt)
    In This Topic
    Gets the array of T objects associated with the specified key. Returns null if the array does not exist or cannot be converted to an array of T.
    Syntax
    'Declaration
     
    Public Shared Function GetArray(Of T As IPdfObject)( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       Optional ByVal singleToArray As System.Boolean _
    ) As T()
    public static T[] GetArray<T>( 
       IPdfDict dict,
       PdfName key,
       System.bool singleToArray
    )
    where T: IPdfObject

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the array.
    singleToArray
    Indicates whether to convert a single T value to an array.

    Type Parameters

    T

    Return Value

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