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 | 符合 PDF 日期格式的修改日期字符串,格式为 D:YYYYMMDDHHmmSSOHH'mm' |
Usage notes
- 修改日期应晚于或等于创建日期,否则部分合规验证工具可能将文件标记为异常
- 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