TX Text Control .NET Server

Javascript: TXTextControl.NextField.preserveFormatting Property

Property|Introduced in 25.0

Description

Specifies whether the field's formatting should be preserved.

Syntax

<boolean> TXTextControl.NextField.preserveFormatting

Examples

The following example demonstrates TXTextControl.NextField.preserveFormatting in a practical document-editing workflow. It specifies whether the field's formatting should be preserved.

function inspectPreserveFormatting(nextField) {
    const preserveFormatting = nextField.preserveFormatting;
    console.log("preserve formatting:", preserveFormatting);
}