THotPDF.GetLoadedCreationDate Method
Reads the creation date string from the information dictionary of the loaded PDF document
Declaration
function GetLoadedCreationDate: AnsiString;
Unit
HPDFDoc
Return value
返回符合 PDF 日期格式(D:YYYYMMDDHHmmSSOHH'mm')的 AnsiString 字符串;若文档不含创建日期则返回空字符串
Usage notes
- 返回值遵循 PDF 规范定义的日期字符串格式,解析时需按照该格式提取年、月、日、时等分量
- The format of the date string written by some generation tools may be non-standard; it is recommended to check the validity of the return value before parsing
- 若文档经过多次修改,创建日期仍指原始创建时间;若需最近修改时间,请使用
GetLoadedModDate