# LoadSettings.AddParagraph Property

> Specifies whether or not a new paragraph is created before text is loaded. This property has only an effect, when a LoadSettings object is used with the Selection.Load method. By default a new paragraph is not created. When text is loaded into an existing paragraph the formatting attributes of the existing and the last loaded paragraph are merged. When this property is true, attributes are not merged and the newly created paragraph gets the attributes of the last loaded paragraph.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > LoadSettings.AddParagraph Property
- **568 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/addparagraph-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/addparagraph-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/addparagraph-property/llms-full.txt

---

### Description

Specifies whether or not a new paragraph is created before text is loaded. This property has only an effect, when a [LoadSettings](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/llms-full.txt) object is used with the [Selection.Load](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/selection/load-method/llms-full.txt) method. By default a new paragraph is not created. When text is loaded into an existing paragraph the formatting attributes of the existing and the last loaded paragraph are merged. When this property is true, attributes are not merged and the newly created paragraph gets the attributes of the last loaded paragraph.

### Syntax

```csharp
public bool AddParagraph { get; set; }
```

```vbnet
Public Property AddParagraph As Boolean
```

### Examples

The following example configures how a WordprocessingML template is loaded by using `LoadSettings.AddParagraph`.

```csharp
LoadSettings loadSettings = new();

loadSettings.AddParagraph = true;
if (loadSettings.AddParagraph)
{
    Console.WriteLine("Load Settings: Add Paragraph is enabled.");
}

textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
```

```vbnet
Dim loadSettings As New LoadSettings()

loadSettings.AddParagraph = True
If loadSettings.AddParagraph Then
    Console.WriteLine("Load Settings: Add Paragraph is enabled.")
End If

textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
```

---

## Nearby

- **Previous:** [LoadSettings Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/llms-full.txt)
- **Next:** [LoadSettings.ApplicationFieldFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/applicationfieldformat-property/llms-full.txt)
