THotPDF.SetLoadedModDate Method
Sets the ModDate field in the information dictionary of the loaded PDF document to update the document's last modification date
Declaration
procedure SetLoadedModDate(const ADate: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ADate | Modification date string in the PDF date format D:YYYYMMDDHHmmSSOHH'mm' |
Return value
This member returns no value
Usage notes
- The modification date should be later than or equal to the creation date, otherwise some compliance validators may flag the file as anomalous
- Call this method after all content modifications are complete to ensure ModDate accurately reflects the processing time of this operation
- Changes must be saved before they can be written to the output file