SetFormFieldSimpleCalculation
Form fields, actions
Description
Adds an AFSimple_Calculate action for sum, average, product, minimum or maximum aggregation
Syntax
Function TPDFlib.SetFormFieldSimpleCalculation(Index: Integer; Operation: TPDFlibFormCalculationOperation; Const SourceFieldIndices: Array Of Integer): Integer;Remarks
Source indices are resolved to field names and safely escaped before script generation
Empty, duplicate, invalid and self-referential source lists are rejected, while successful calls add the target field to the AcroForm calculation-order array