SetFormFieldSimpleCalculation
表单字段、操作
描述
为求和、平均值、乘积、最小值或最大值聚合添加 AFSimple_Calculate 操作
语法
Function TPDFlib.SetFormFieldSimpleCalculation(Index: Integer; Operation: TPDFlibFormCalculationOperation; Const SourceFieldIndices: Array Of Integer): Integer;备注
会将源索引解析为字段名称,并在生成脚本前进行安全转义
空白、重复、无效和自引用的源列表会被拒绝;成功调用会将目标字段添加到 AcroForm 计算顺序数组