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