GetDocumentRevisionEnd

Security and signatures, direct access functionality

Description

Reports the byte offset at which one incremental revision ends within the file

Syntax

Delphi

Function TPDFlib.GetDocumentRevisionEnd(Const InputFile, Password: WideString; RevisionIndex: Integer): Int64;

Parameters

InputFileThe path of the PDF file to inspect
PasswordThe open password, or an empty string when the file is not encrypted
RevisionIndexThe zero-based revision number whose end offset is requested

Return value

Returns the byte offset, or 0 on a bad index

See also

GetDocumentRevisionCount, GetDocumentRevisionStart, GetDocumentRevisionKind