Namespace: PdfSharp.Pdf
Represents a direct date value.
public sealed class PdfDate : PdfItem, System.ICloneable
Inheritance Object → PdfItem → PdfDate
Implements ICloneable
Gets the value as DateTime.
public DateTime Value { get; }
Initializes a new instance of the PdfDate class.
public PdfDate()
Initializes a new instance of the PdfDate class.
public PdfDate(string value)
value
String
Initializes a new instance of the PdfDate class.
public PdfDate(DateTime value)
value
DateTime
Returns the value in the PDF date format.
public string ToString()
Writes the value in the PDF date format.
internal void WriteObject(PdfWriter writer)
writer
PdfWriter