GetModificationFindingLevel
Diagnostics
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, an empty string or False and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
Description
Returns the classification level of one cached modification finding
Syntax
Delphi
Function GetModificationFindingLevel(Index: Integer): Integer; Virtual;ActiveX
Function PDFlib::GetModificationFindingLevel(Index As Long) As LongDLL
int DLGetModificationFindingLevel(int InstanceID, int Index);Parameters
| Index | Zero-based finding index from 0 through GetModificationFindingCount - 1 |
|---|
Return values
| 0 | Invalid index or no modification |
|---|---|
| 1 | LTA update |
| 2 | Form filling |
| 3 | Annotation change |
| 4 | Unclassified change |
Remarks
An invalid index returns 0, which is also the numeric value for the none classification
The overall value returned by GetModificationLevel is the maximum level among all valid findings
Example
if PDF.GetModificationFindingLevel(I)= 4 then
Log(PDF.GetModificationFindingDetail(I));See also
AnalyzeModifications, GetModificationFindingCount, GetModificationLevel