[]
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)
Public Shared Function GetRect(dict As IPdfDict, key As PdfName, defValue As RectangleF) As RectangleF
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)
Public Shared Function GetRect(dict As IPdfDict, key As PdfName, defValue As RectangleF?) As RectangleF?
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. |