THotPDF.IsFormFieldNoExport Method
Determines whether a specified form field in the loaded PDF document has the no-export flag set
Declaration
function IsFormFieldNoExport(FieldIndex: Integer): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | The zero-based index of the form field |
Return value
Returns True if the NoExport bit (bit 3) is set in the field's Ff (Field Flags); otherwise returns False
Usage notes
- The NoExport flag means the field's value should not be included in the submitted form data; typical for internal calculation fields or hidden helper fields
- Returns False when the index is out of range; you should confirm the total number of fields before calling