TX Text Control .NET for Windows Forms

BytesRead Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the number of bytes read during the load operation.

Syntax

public long BytesRead { get; }

Examples

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

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

Limitations

Read only.