[]
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
.
public static T[] GetArray<T>(this IPdfDict dict, PdfName key, bool singleToArray = false) where T : IPdfObject
Public Shared Function GetArray(Of T As IPdfObject)(dict As IPdfDict, key As PdfName, Optional singleToArray As Boolean = False) As T()
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key identifying the array. |
bool | singleToArray | Indicates whether to convert a single |
Type | Description |
---|---|
T[] | The array associated with the specified key, or null. |
Name | Description |
---|---|
T |