GetAnnotCreationDate

註解與熱點連結

描述

傳回所選頁面上某註解 /CreationDate 項目中儲存的建立日期

值會以 PDF 日期字串原樣傳回,例如 D:20260101120000+01'00';/CreationDate 是標記類註解才有的選用項目,因此其他註解類型通常只會得到空字串

語法

Delphi

Function TPDFlib.GetAnnotCreationDate(Index: Integer): WideString;

參數

Index所選頁面上以 1 起算的註解索引

傳回值

text原始的 /CreationDate PDF 日期字串
''註解沒有 /CreationDate 項目、索引無效,或尚未載入任何文件

另請參閱

GetAnnotModifiedDate, GetAnnotContentsEx, GetAnnotTitle