TX Text Control .NET for Windows Forms

CssFileName 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 path and filename of the CSS file belonging to a HTML or XML document.

Syntax

public string CssFileName { get; }

Examples

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

LoadSettings loadSettings = new();
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
Console.WriteLine($"Css File Name: {loadSettings.CssFileName}");

Limitations

Read only.

HTML and XML only.