[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetPdfDateTime

SetPdfDateTime Method

SetPdfDateTime(IPdfDict, PdfName, PdfDateTime?, PdfDateTime?)

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.

Declaration
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?)
Parameters
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.