GetDocumentRevisionKind
安全与签名、直接访问功能
描述
按所触及对象中影响范围最广者,对某个修订所作的更改进行分类
语法
Delphi
Function TPDFlib.GetDocumentRevisionKind(Const InputFile, Password: WideString; RevisionIndex: Integer): Integer;参数
| InputFile | 要检查的 PDF 文件路径 |
|---|---|
| Password | 打开密码,文件未加密时为空字符串 |
| RevisionIndex | 请求其类型的从零开始计数的修订号 |
返回值
| 0 | 仅用于簿记 |
|---|---|
| 1 | 验证材料(DSS 或 VRI) |
| 2 | 文档时间戳 |
| 3 | 签名 |
| 4 | 一个表单字段 |
| 5 | 一个注释 |
| 6 | 文档内容 |
| 7 | 无法确定;由于其中某些内容无法读取,不得将该修订视为无害 |
另请参阅
GetDocumentRevisionCount, GetDocumentRevisionChanges, GetSignatureRevisionIndex