[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.PdfDateTime.-ctor

PdfDateTime Constructor

PdfDateTime(DateTime)

Initializes a new instance of the PdfDateTime struct using a DateTime value.

Declaration
public PdfDateTime(DateTime value)
Public Sub New(value As Date)
Parameters
Type Name Description
DateTime value

The DateTime value.

PdfDateTime(string)

Initializes a new instance of the PdfDateTime struct using a string. The passed string is converted to DateTimeOffset if possible.

Declaration
public PdfDateTime(string value)
Public Sub New(value As String)
Parameters
Type Name Description
string value

The string representing a date time value.

PdfDateTime(IPdfString)

Initializes a new instance of the PdfDateTime struct using a IPdfString. The passed string is converted to DateTimeOffset if possible.

Declaration
public PdfDateTime(IPdfString value)
Public Sub New(value As IPdfString)
Parameters
Type Name Description
IPdfString value

The IPdfString representing a date time value.