GetDocumentRevisionKind

Beveiliging en handtekeningen, functionaliteit voor directe toegang

Vereist de Small Business-editie. In Delphi-, C++Builder- en Lazarus-code maakt u de library aan als TPDFlibSmallBusiness (unit PDFlibSmallBusiness) of TPDFlibEnterprise; de Small Business- en Enterprise-DLL- en ActiveX-builds leveren die ongewijzigd aan. De Single-editie behoudt de methode, die 7 teruggeeft en LastErrorCode op 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED) zet

Beschrijving

Classificeert wat één revisie heeft gewijzigd, uitgedrukt als het meest verstrekkende van de objecten die hij raakte

Syntaxis

Delphi

Function TPDFlib.GetDocumentRevisionKind(Const InputFile, Password: WideString; RevisionIndex: Integer): Integer; Virtual;

ActiveX

Function PDFlib::GetDocumentRevisionKind(InputFile As String, Password As String, RevisionIndex As Long) As Long

DLL

int DLGetDocumentRevisionKind(int InstanceID, const wchar_t* InputFile, const wchar_t* Password, int RevisionIndex);
int DLGetDocumentRevisionKindA(int InstanceID, const char* InputFile, const char* Password, int RevisionIndex);

Parameters

InputFileHet pad van het PDF-bestand dat moet worden gecontroleerd
PasswordHet wachtwoord om te openen, of een lege string als het bestand niet is versleuteld
RevisionIndexHet nulgebaseerde revisienummer waarvan het soort wordt gevraagd

Retourwaarden

0Alleen boekhouding
1Validatiemateriaal (DSS of VRI)
2Een documenttijdstempel
3Een handtekening
4Een formulierveld
5Een annotatie
6Documentinhoud
7Kon niet worden vastgesteld; de revisie mag niet als onschuldig worden behandeld omdat er iets in niet gelezen kon worden

Zie ook

GetDocumentRevisionCount, GetDocumentRevisionChanges, GetSignatureRevisionIndex