From Tracker Software PDF SDK
Flattens the specified form field. When the field is flattened, the current appearance of its widgets becomes part of the contents of the pages where they were located, and the field itself is removed from the form.
This method cannot be applied for dymanic forms.
HRESULT FlattenField([in] LPWSTR sName);
- [in] Specifies the name of the field to be flattened.
Returns S_OK if operation was successful or an error code in other cases.
See also IPXC_AcroForm, IPXC_FormField.