GetModificationLevel

Diagnostics

Description

Returns the overall classification level cached by the most recent AnalyzeModifications call

Syntax

Delphi

Function GetModificationLevel: Integer;

Return values

0No modifications, no completed analysis or the most recent analysis failed before producing findings
1LTA updates
2Form filling
3Annotations
4Unclassified 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