# LoadSettings.BytesRead Property

> Gets the number of bytes read during the load operation.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **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.BytesRead Property
- **354 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/bytesread-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/bytesread-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/bytesread-property/llms-full.txt

---

### Description

Gets the number of bytes read during the load operation.

### Syntax

```csharp
public long BytesRead { get; }
```

```vbnet
Public ReadOnly Property BytesRead As Long
```

### Examples

The following example reads `LoadSettings.BytesRead` after the template has been loaded.

```csharp
LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Bytes Read: {loadSettings.BytesRead}");
```

```vbnet
Dim loadSettings As New LoadSettings()
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
Console.WriteLine($"Bytes Read: {loadSettings.BytesRead}")
```

### Limitations

Read only.

---

## Nearby

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