TPDFlibRevisionRead
Data types, security and signatures
Description
Answers one query on the incremental revision history of a PDF file.
TPDFlib declares the public methods and a protected dispatch method for reading the incremental revision history of a PDF file. The edition class supplies the implementation as a callback of this type. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_SMALLBUSINESS_REQUIRED. Application code never declares, assigns or calls a value of this type.
Syntax
Delphi
TPDFlibRevisionRead = Function(Operation: TPDFlibRevisionOperation;
Const InputFile, Password, FieldOrOutputName: WideString;
RevisionIndex: Integer; DefaultValue: Int64): Int64 Of Object;Parameters
| Operation | Query to answer; one of the values of TPDFlibRevisionOperation |
|---|---|
| InputFile | Path of the PDF file to inspect |
| Password | Open password, or an empty string when the file is not encrypted |
| FieldOrOutputName | Name of the signature field for roSignatureIndex, target path for roExtract, otherwise an empty string |
| RevisionIndex | Zero-based revision number the query applies to; 0 is the original file |
| DefaultValue | Result to return when the query cannot be answered; the documented default of the operation |
Return values
| T |
See also
TPDFlibRevisionOperation, GetDocumentRevisionCount, ExtractDocumentRevision