Flatten specified field of the form. When field is flattened, current appearance of its widgets become a part of content of 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 flatten.
Returns S_OK if operation was successful or error code in other cases.