[]
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)
Public Shared Sub [Set](dict As IPdfDict, key As PdfName, value As IPdfObject)
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)
Public Shared Sub [Set](dict As IPdfDict, key As PdfName, value As IPdfName, defValue As IPdfName)