THotPDF.RemoveFormField Method
Method summary: THotPDF.RemoveFormField Method
Declaration
procedure RemoveFormField(FieldIndex: Integer); overload;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | Field |
FieldName | Qualified field name, including parent components such as group.a |
Return value
Returns no value
Usage notes
- Both overloads raise an exception when the target does not exist
- Deleting a named child preserves sibling fields even when their type and options are inherited from a shared parent
- Widget entries are removed from page annotation arrays, and empty ancestors are pruned from the field tree
- Stable