THotPDF.RecalculateLoadedFieldCalculation Method
Evaluates one form field's /Calculate script and writes the resulting value to the field
Declaration
function RecalculateLoadedFieldCalculation(FieldIndex: Integer): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | Zero-based index of the form field to recalculate |
Return value
True when the calculation evaluated successfully
Usage notes
- Used internally by THotPDF.RecalculateLoadedFormFieldsIncremental and THotPDF.RecalculateLoadedFormFields to recompute one dependency-graph node
- Call THotPDF.RecalculateLoadedFormFieldsIncremental instead when several dependent fields need to stay consistent