GetSignatureEffectiveMDPLevel
Digital signatures
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 and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
Description
Returns the certification permission level applied by the last modification verdict
Syntax
Delphi
Function TPDFlib.GetSignatureEffectiveMDPLevel: Integer; Virtual;ActiveX
Function PDFlib::GetSignatureEffectiveMDPLevel() As LongDLL
int DLGetSignatureEffectiveMDPLevel(int InstanceID);Return values
| 1 | No later change is permitted |
|---|---|
| 2 | Filling form fields and signing are additionally permitted |
| 3 | Annotations are additionally permitted, and the same value is reported when nothing certified the document |
Remarks
Valid until the next GetSignatureModificationVerdict call. A value of 3 does not by itself mean the document is uncertified; when a certification was found but its structure could not be verified, the verdict reports 4 and this value should not be read as the level in force
See also
GetSignatureModificationVerdict, GetSignatureModificationDetail