GetDocumentRevisionStart

Security and signatures, direct access functionality

Description

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

Syntax

Delphi

Function TPDFlib.GetDocumentRevisionStart(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 start offset is requested

Return value

Returns the byte offset, or 0 on a bad index

See also

GetDocumentRevisionCount, GetDocumentRevisionEnd, GetDocumentRevisionKind