TX Text Control .NET for Windows Forms

LoadedStreamType 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 StreamType of the file that has been loaded.

Syntax

public StreamType LoadedStreamType { get; }

Examples

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

LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Loaded Stream Type: {loadSettings.LoadedStreamType}");

Limitations

Read only.