THotPDF.SetLoadedCreationDate Method
Sets the CreationDate field in the information dictionary of the loaded PDF document to specify the document's creation date
Declaration
procedure SetLoadedCreationDate(const ADate: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ADate | Creation date conforming to the PDF date string format D:YYYYMMDDHHmmSSOHH'mm' |
Return value
This member returns no value
Usage notes
- The date string must follow the PDF date format specification (an ISO 8824 subset) strictly; a malformed string can defeat the reader's parser
- It is recommended to use in conjunction with SetLoadedModDate to ensure the time zone information in both date fields is consistent
- The save method must be called after modification to make changes persistent