GetModificationLevel
Diagnostics
Description
Returns the overall classification level cached by the most recent AnalyzeModifications call
Syntax
Delphi
Function GetModificationLevel: Integer;Return values
| 0 | No modifications, no completed analysis or the most recent analysis failed before producing findings |
|---|---|
| 1 | LTA updates |
| 2 | Form filling |
| 3 | Annotations |
| 4 | Unclassified changes |
Remarks
The result is the maximum level among all cached findings and uses the ordering shown above from least to most permissive
AnalyzeModifications clears the cached level before every attempt, so a rejected file name or load failure leaves the value at 0
Example
PDF.AnalyzeModifications("signed_v1.pdf", "");
Level:= PDF.GetModificationLevel;See also
AnalyzeModifications, GetModificationFindingCount, GetModificationFindingLevel