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 LongDLL
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
| InputFile | Het pad van het PDF-bestand dat moet worden gecontroleerd |
|---|---|
| Password | Het wachtwoord om te openen, of een lege string als het bestand niet is versleuteld |
| RevisionIndex | Het nulgebaseerde revisienummer waarvan het soort wordt gevraagd |
Retourwaarden
| 0 | Alleen boekhouding |
|---|---|
| 1 | Validatiemateriaal (DSS of VRI) |
| 2 | Een documenttijdstempel |
| 3 | Een handtekening |
| 4 | Een formulierveld |
| 5 | Een annotatie |
| 6 | Documentinhoud |
| 7 | Kon niet worden vastgesteld; de revisie mag niet als onschuldig worden behandeld omdat er iets in niet gelezen kon worden |
Zie ook
GetDocumentRevisionCount, GetDocumentRevisionChanges, GetSignatureRevisionIndex