# LoadSettings.CssFileName Property

> Gets the path and filename of the CSS file belonging to a HTML or XML document.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > LoadSettings.CssFileName Property
- **366 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/cssfilename-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/cssfilename-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/cssfilename-property/llms-full.txt

---

### Description

Gets the path and filename of the CSS file belonging to a HTML or XML document.

### Syntax

```csharp
public string CssFileName { get; }
```

```vbnet
Public ReadOnly Property CssFileName As String
```

### Examples

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

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

```vbnet
Dim loadSettings As New LoadSettings()
textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
Console.WriteLine($"Css File Name: {loadSettings.CssFileName}")
```

### Limitations

Read only.

HTML and XML only.

---

## Nearby

- **Previous:** [LoadSettings.CreatorApplication Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/creatorapplication-property/llms-full.txt)
- **Next:** [LoadSettings.DocumentAccessPermissions Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/loadsettings/documentaccesspermissions-property/llms-full.txt)
