LoadedStreamType Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the StreamType of the file that has been loaded.
Syntax
public StreamType LoadedStreamType { get; }Public ReadOnly Property LoadedStreamType As StreamTypeExamples
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}");Dim loadSettings As New LoadSettings()
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
Console.WriteLine($"Loaded Stream Type: {loadSettings.LoadedStreamType}")Limitations
Read only.