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