[]
Sets the Boolean 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 SetBool(this IPdfDict dict, PdfName key, bool? value, bool? defValue)
Public Shared Sub SetBool(dict As IPdfDict, key As PdfName, value As Boolean?, defValue As Boolean?)
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key identifying the value. |
bool? | value | The value to set. |
bool? | defValue | The default value. |