[]
Gets the bytes of the IPdfString associated with the specified key. If the value does not exist or cannot be converted to an IPdfString, returns null.
public static byte[] GetPdfStringBytes(this IPdfDict dict, PdfName key)
| Type | Name | Description |
|---|---|---|
| IPdfDict | dict | The current dictionary. |
| PdfName | key | The key identifying the value. |
| Type | Description |
|---|---|
| byte[] | The value associated with the specified key, or null. |