Table of Contents

Class PdfDate

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents a direct date value.

public sealed class PdfDate : PdfItem, ICloneable
Inheritance
PdfDate
Implements
Inherited Members

Constructors

PdfDate()

Initializes a new instance of the PdfDate class.

public PdfDate()

PdfDate(DateTime)

Initializes a new instance of the PdfDate class.

public PdfDate(DateTime value)

Parameters

value DateTime

PdfDate(string)

Initializes a new instance of the PdfDate class.

public PdfDate(string value)

Parameters

value string

Properties

Value

Gets the value as DateTime.

public DateTime Value { get; }

Property Value

DateTime

Methods

ToString()

Returns the value in the PDF date format.

public override string ToString()

Returns

string