[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.GetPdfDateTime

GetPdfDateTime Method

GetPdfDateTime(IPdfDict, PdfName, PdfDateTime?)

Gets the PdfDateTime value associated with the specified key. If the value does not exist or cannot be converted to a PdfDateTime, returns defValue (which can be null).

Declaration
public static PdfDateTime? GetPdfDateTime(this IPdfDict dict, PdfName key, PdfDateTime? defValue)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key identifying the value.

PdfDateTime? defValue

The default value.

Returns
Type Description
PdfDateTime?

The value associated with the specified key, or null.