GetDocumentRevisionKind
安全性與簽章、直接存取功能
描述
分類單一版次改了什麼,以其觸及物件中最深遠的類別表示
語法
Delphi
Function TPDFlib.GetDocumentRevisionKind(Const InputFile, Password: WideString; RevisionIndex: Integer): Integer;參數
| InputFile | 要檢查的 PDF 檔案路徑 |
|---|---|
| Password | 開啟密碼;檔案未加密時為空字串 |
| RevisionIndex | 所要求類型的版次編號(零起算) |
傳回值
| 0 | Bookkeeping only |
|---|---|
| 1 | 驗證材料(DSS 或 VRI) |
| 2 | A document time stamp |
| 3 | A signature |
| 4 | A form field |
| 5 | An annotation |
| 6 | Document content |
| 7 | 無法判定;該版次不得視為無害,因為其中有內容無法讀取 |
另見
GetDocumentRevisionCount, GetDocumentRevisionChanges, GetSignatureRevisionIndex