[]
Gets the Offsets associated with the specified key (in a PDF a Offsets should be represented as an array of 4 floats).
Gets defValue if the value does not exist or cannot be converted to an Offsets.
public static Offsets GetOffsets(this IPdfDict dict, PdfName key, Offsets defValue)
| Type | Name | Description |
|---|---|---|
| IPdfDict | dict | The current dictionary. |
| PdfName | key | The key of the value to get. |
| Offsets | defValue | The default value. |
| Type | Description |
|---|---|
| Offsets | The value associated with the specified key. |
Gets the Offsets associated with the specified key (in a PDF an Offsets should be represented as an array of 4 floats).
Gets defValue if the value does not exist or cannot be converted to an Offsets.
public static Offsets? GetOffsets(this IPdfDict dict, PdfName key, Offsets? defValue)
| Type | Name | Description |
|---|---|---|
| IPdfDict | dict | The current dictionary. |
| PdfName | key | The key of the value to get. |
| Offsets? | defValue | The default value. |
| Type | Description |
|---|---|
| Offsets? | The value associated with the specified key. |