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