Table of Contents

Constructor PdfDate

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

PdfDate()

Initializes a new instance of the PdfDate class. The Value property becomes null.

public PdfDate()

PdfDate(string)

Initializes a new instance of the PdfDate class. If the string is not a valid PDF date the Value property becomes null.

public PdfDate(string date)

Parameters

date string

PdfDate(DateTime)

Initializes a new instance of the PdfDate class.

[Obsolete("Use a DateTimeOffset for creating a PdfDate.")]
public PdfDate(DateTime value)

Parameters

value DateTime

PdfDate(DateTimeOffset)

Initializes a new instance of the PdfDate class.

public PdfDate(DateTimeOffset value)

Parameters

value DateTimeOffset