[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.TryGetPdfDateTime

TryGetPdfDateTime Method

TryGetPdfDateTime(IPdfDict, PdfName, out PdfDateTime?)

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.

Declaration
public static bool TryGetPdfDateTime(this IPdfDict dict, PdfName key, out PdfDateTime? value)
Public Shared Function TryGetPdfDateTime(dict As IPdfDict, key As PdfName, ByRef value As PdfDateTime?) As Boolean
Parameters
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.

Returns
Type Description
bool

true if value exists; otherwise, false.