[]
Sets the float value associated with the specified key.
If the value is null or is equal to defValue
,
removes the key from the dictionary.
public static void SetFloat(this IPdfDict dict, PdfName key, float? value, float? defValue)
Public Shared Sub SetFloat(dict As IPdfDict, key As PdfName, value As Single?, defValue As Single?)
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key identifying the value. |
float? | value | The value to set. |
float? | defValue | The default value. |