IPXC_AcroForm::FlattenAllFields Method
From PDF XChange PDF SDK
Flattens all fields in the form. As a result, all widgets become part of the content of their respective pages and fields are removed.
This method cannot be applied to dymanic forms.
Syntax
HRESULT FlattenAllFields();
Return Value
Returns S_OK if operation was successful or an error code in other cases.