Javascript: TXTextControl.IncludeTextField.textFormat Property
Description
Specifies the text format of the field. Possible values are defined in TXTextControl.MergeFieldTextFormat.
Syntax
<MergeFieldTextFormat> TXTextControl.IncludeTextField.textFormatExamples
The following example demonstrates TXTextControl.IncludeTextField.textFormat in a practical document-editing workflow. It specifies the text format of the field. Possible values are defined in TXTextControl.MergeFieldTextFormat.
function inspectTextFormat(includeTextField) {
const textFormat = includeTextField.textFormat;
console.log("text format:", textFormat);
}