[]
Sets the value associated with the specified key.
If value is null, the entry specified by the key will be removed.
public static void Set(this IPdfDict dict, PdfName key, IPdfObject value)
| Type | Name | Description |
|---|---|---|
| IPdfDict | dict | The current dictionary. |
| PdfName | key | The key of the value to set. |
| IPdfObject | value | The value to set. |
Sets the PDF Name 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 Set(this IPdfDict dict, PdfName key, IPdfName value, IPdfName defValue)
| Type | Name | Description |
|---|---|---|
| IPdfDict | dict | The current dictionary. |
| PdfName | key | The key identifying the value. |
| IPdfName | value | The value to set. |
| IPdfName | defValue | The default value. |