TX Text Control .NET Server

LoadedStreamType Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

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.