[]
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).
public static PdfDateTime? GetPdfDateTime(this IPdfDict dict, PdfName key, PdfDateTime? defValue)
Public Shared Function GetPdfDateTime(dict As IPdfDict, key As PdfName, defValue As PdfDateTime?) As PdfDateTime?
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key identifying the value. |
PdfDateTime? | defValue | The default value. |
Type | Description |
---|---|
PdfDateTime? | The value associated with the specified key, or null. |