Skip to main content
WriteDateEnum enumeration constants are used to describe the various options of writing the creation and modification dates into the output file in PDF or XPS format.
typedef enum {
 WD_No,
 WD_Current,
 WD_DocumentContentInfo,
 WD_DocumentContentInfoOrCurrent
} WriteDateEnum;

Elements

NameDescription
WD\_CurrentThe current date will be written in the output document.
WD\_DocumentContentInfoUse the date specified in the corresponding property of the DocumentContentInfo object (CreationDate or ModificationDate).<br />The date in the output document must have valid format (D:YYYYMMDDHHmmSSOHH’mm, as specified by the PDF 2.0 standard). If the date is empty or has invalid format, an error will be returned.
WD\_DocumentContentInfoOrCurrentUse the date specified in the corresponding property of the DocumentContentInfo object (CreationDate or ModificationDate).<br />The date in the output document must have valid format (D:YYYYMMDDHHmmSSOHH’mm, as specified by the PDF 2.0 standard). If the date is empty, then the current date will be written in the output document. If the date format is invalid, an error will be returned.
WD\_NoNo date will be written in the output document.

Used in

IDocumentContentInfoWritingParams::WriteCreationDate IDocumentContentInfoWritingParams::WriteModificationDate