[]
Gets the PdfName array associated with the specified key. Returns null if the array does not exist or cannot be converted to a PdfName array.
public static PdfName[] GetNameArray(this IPdfDict dict, PdfName key, bool singleToArray = false)
| Type | Name | Description |
|---|---|---|
| IPdfDict | dict | The current dictionary. |
| PdfName | key | The key identifying the value. |
| bool | singleToArray | Indicates whether to convert a single PdfName to an array. |
| Type | Description |
|---|---|
| PdfName[] | The array associated with the specified key, or null. |