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
- NoExport 标志表示该字段的值不应包含在表单提交的数据中,常用于内部计算字段或隐藏辅助字段
- Returns False when the index is out of range; you should confirm the total number of fields before calling
- When combined with IsFormFieldRequired and GetLoadedFormFieldFlags, the export and submission behaviour of the field can be fully analysed