Javascript: TXTextControl.IncludeTextField.preserveFormatting Property
Description
Specifies whether the field's formatting should be preserved.
Syntax
<boolean> TXTextControl.IncludeTextField.preserveFormattingExamples
The following example demonstrates TXTextControl.IncludeTextField.preserveFormatting in a practical document-editing workflow. It specifies whether the field's formatting should be preserved.
function inspectPreserveFormatting(includeTextField) {
const preserveFormatting = includeTextField.preserveFormatting;
console.log("preserve formatting:", preserveFormatting);
}