Javascript: TXTextControl.MergeFieldTextFormat Enumeration
Description
Determines the possible text formats for merge fields containing text.
Members
| Member | Description |
|---|---|
| None | The text is displayed normally. |
| Uppercase | The text is displayed in uppercase. |
| Lowercase | The text is displayed in lowercase. |
| FirstCapital | The first character is displayed in uppercase. |
| TitleCase | The text is displayed in title case. |
Examples
The following example uses TXTextControl.MergeFieldTextFormat.Uppercase (the text is displayed in uppercase.) in a document-editing workflow.
const value = TXTextControl.MergeFieldTextFormat.Uppercase;
console.log("The text is displayed in uppercase.", value);