Javascript: TXTextControl.SaveSettings.OmittedContent Enumeration
Description
Specifies data to be omitted when the document is saved.
Members
| Member | Description |
|---|---|
| None | Nothing is omitted. |
| SubTextParts | Subtextparts are omitted. Only the subtextpart is omitted, the text and formatting attributes belonging to the subtextpart are saved. |
| TrackedChanges | Tracked changes are omitted. Only the markup is omitted, the text and formatting attributes belonging to the tracked change are saved. |
| EditableRegions | Editable regions are omitted. Only the region marker are omitted, the text and formatting attributes belonging to the editable region are saved. |
| Sections | Sections are omitted. |
| TextFields | Text fields are omitted. |
Examples
The following example uses TXTextControl.Txtextcontrol.Savesettings.OmittedContent.SubTextParts (subtextparts are omitted. Only the subtextpart is omitted, the text and formatting attributes belonging to the subtextpart are saved.) in a document-editing workflow.
const value = TXTextControl.Txtextcontrol.Savesettings.OmittedContent.SubTextParts;
console.log("Subtextparts are omitted. Only the subtextpart is omitted, the text and formatting attributes belonging to the subtextpart are saved.", value);