[]
Gets the nullable Float value associated with the specified key.
If the value does not exist or cannot be converted to a Float,
returns defValue
(which can be null).
public static float? GetFloat(this IPdfDict dict, PdfName key, float? defValue)
Public Shared Function GetFloat(dict As IPdfDict, key As PdfName, defValue As Single?) As Single?
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key identifying the value. |
float? | defValue | The default value. |
Type | Description |
---|---|
float? | The value associated with the specified key, or |
Gets the Float value associated with the specified key.
If the value does not exist or cannot be converted to a Float,
returns defValue
.
public static float GetFloat(this IPdfDict dict, PdfName key, float defValue)
Public Shared Function GetFloat(dict As IPdfDict, key As PdfName, defValue As Single) As Single
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key identifying the value. |
float | defValue | The default value. |
Type | Description |
---|---|
float | The value associated with the specified key, or |