Javascript: TXTextControl.SaveSettings.flattenFormFields Property
Description
Specifies whether or not form fields are flattened when the document is saved.
Syntax
<boolean> TXTextControl.SaveSettings.flattenFormFieldsExamples
The following example demonstrates TXTextControl.SaveSettings.flattenFormFields in a practical document-editing workflow. It specifies whether or not form fields are flattened when the document is saved.
function inspectFlattenFormFields(saveSettings) {
const flattenFormFields = saveSettings.flattenFormFields;
console.log("flatten form fields:", flattenFormFields);
}