# SaveSettings.OmittedContent Property

> Specifies data to be omitted when the document is saved.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > SaveSettings.OmittedContent Property
- **604 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/omittedcontent-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/omittedcontent-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/omittedcontent-property/llms-full.txt

---

### Description

Specifies data to be omitted when the document is saved.

### Syntax

```csharp
public OmittedContent OmittedContent { get; set; }
```

```vbnet
Public Property OmittedContent As OmittedContent
```

### Members

| Value | Description |
|---|---|
| None | Nothing is omitted. |
| Comments | Comments are omitted. |
| EditableRegions | Editable regions are omitted. Only the region markers are omitted, the text and formatting attributes belonging to the editable region are saved. |
| Footnotes | Footnotes are omitted. |
| SubTextParts | Subtextparts are omitted. Only the subtextpart is omitted, the text and formatting attributes belonging to the subtextpart are saved. |
| Sections | Section data is omitted. |
| TablesOfContents | Tables of contents are omitted. Only the data is omitted, the text and formatting attributes are saved. |
| TextFields | All kind of text fields are omitted. |
| TrackedChanges | Tracked changes are omitted. Only the markup is omitted, the text and formatting attributes belonging to the tracked change are saved. |

### Examples

The following example exports a clean review copy without tracked-change markup.

```csharp
SaveSettings saveSettings = new()
{
    OmittedContent = OmittedContent.TrackedChanges
};
textControl.Save("approved-document.docx", StreamType.WordprocessingML, saveSettings);
```

```vbnet
Dim saveSettings As New SaveSettings() With {
    .OmittedContent = OmittedContent.TrackedChanges
}
textControl.Save("approved-document.docx", StreamType.WordprocessingML, saveSettings)
```

### Limitations

This property cannot be used when a document is saved with Adobe PDF or Adobe PDF/A format.

---

## Nearby

- **Previous:** [SaveSettings.LastModificationDate Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/lastmodificationdate-property/llms-full.txt)
- **Next:** [SaveSettings.PageMargins Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/pagemargins-property/llms-full.txt)
