# LoadSaveSettingsBase Class

> The LoadSaveSettingsBase class is the base class of the LoadSettings and SaveSettings classes.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Derived:** `TXTextControl.LoadSettings`, `TXTextControl.SaveSettings`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > LoadSaveSettingsBase Class
- **841 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/llms-full.txt

---

### Description

The LoadSaveSettingsBase class is the base class of the [LoadSettings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsettings/llms-full.txt) and [SaveSettings](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/savesettings/llms-full.txt) classes.

### Syntax

```csharp
public abstract class LoadSaveSettingsBase
```

```vbnet
Public MustInherit Class LoadSaveSettingsBase
```

### Examples

The following example includes the default stream type value from a Load Save Settings Base object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Default Stream Type: {loadSaveSettingsBase.DefaultStreamType}");
Console.WriteLine("Load Save Settings Base is ready for use.");
```

```vbnet
Console.WriteLine($"Default Stream Type: {loadSaveSettingsBase.DefaultStreamType}")
Console.WriteLine("Load Save Settings Base is ready for use.")
```

---

## In This Section

- [LoadSaveSettingsBase.DefaultStreamType Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/defaultstreamtype-property/llms-full.txt): Determines the default StreamType used in the file Open... and file Save As... dialogboxes.
- [LoadSaveSettingsBase.DocumentBasePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/documentbasepath-property/llms-full.txt): Sets a base path saved in the document that is used to resolve relative file paths.
- [LoadSaveSettingsBase.EmbeddedFiles Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/embeddedfiles-property/llms-full.txt): Specifies an array of EmbeddedFile objects which will be embedded in the saved document. Each file must be specified through a name and its data.
- [LoadSaveSettingsBase.MasterPassword Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/masterpassword-property/llms-full.txt): Specifies a password for the document's access permissions. If the password is an empty string, accessing the document is not restricted. If a password is specified, the access permissions are given through the SaveSettings.DocumentAccessPermissions property.
- [LoadSaveSettingsBase.ReportingMergeBlockFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/reportingmergeblockformat-property/llms-full.txt): Specifies how reporting merge blocks are handled when a document is saved. Reporting merge blocks can be saved in a document either through special document targets represented through DocumentTarget objects or through special subtextparts represented through SubTextPart objects. When a merge block is marked with document targets, the name of the starting marker begins with blockstart_ and the name of the ending marker begins with blockend_. When a merge block is marked through a subtextpart, its name begins with txmb_.
- [LoadSaveSettingsBase.UserPassword Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/userpassword-property/llms-full.txt): Specifies the password for the user when the document is reopened. If the password is an empty string the document can be reopened by every user.

---

## Nearby

- **Previous:** [ListType Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/listtype/enumeration/llms-full.txt)
- **Next:** [LoadSaveSettingsBase.DefaultStreamType Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/loadsavesettingsbase/defaultstreamtype-property/llms-full.txt)
