GetDocumentRevisionChangesA
Security and signatures, direct access functionality
Requires the Small Business edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibSmallBusiness (unit PDFlibSmallBusiness) or TPDFlibEnterprise; the Small Business and Enterprise DLL and ActiveX builds provide it unchanged; the Single edition keeps the method, which returns 0, an empty string or False and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetDocumentRevisionChanges and string arguments are interpreted using the current SetAnsiMode code page
Returns per-object detail for one revision, one line per changed object, formatted as objnum,change,class,detail where change is added, modified or freed
Syntax
Delphi
Function DLGetDocumentRevisionChangesA(InstanceID: Integer; InputFile: PAnsiChar; Password: PAnsiChar; RevisionIndex: Integer): Integer;
DLL
int DLGetDocumentRevisionChangesA(int InstanceID, const char* InputFile, const char* Password, int RevisionIndex);
Parameters
| InputFile | The path of the PDF file to inspect |
|---|---|
| Password | The open password, or an empty string when the file is not encrypted |
| RevisionIndex | The zero-based revision number whose changes are requested |
Return values
Returns a string-list handle to release with ReleaseStringList, or 0 when the file cannot be read
See also
GetDocumentRevisionCount, GetDocumentRevisionKind, GetStringListItem, ReleaseStringList