[]
Tries to get the PdfDateTime value associated with the specified key. If the value does not exist or cannot be converted to the PdfDateTime, returns false.
public static bool TryGetPdfDateTime(this IPdfDict dict, PdfName key, out PdfDateTime? value)
| Type | Name | Description |
|---|---|---|
| IPdfDict | dict | The current dictionary. |
| PdfName | key | The key identifying the value. |
| PdfDateTime? | value | OUT. When this method returns, contains the PdfDateTime value. |
| Type | Description |
|---|---|
| bool | true if value exists; otherwise, false. |