# Javascript: TXTextControl.LoadSettings.documentPartName Property

> SpreadsheetML only. Gets or sets the name of the part of the document to be loaded.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.LoadSettings.documentPartName Property
- **182 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-loadsettings/documentpartname-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-loadsettings/documentpartname-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-loadsettings/documentpartname-property/llms-full.txt

---

### Description

SpreadsheetML only. Gets or sets the name of the part of the document to be loaded.

### Syntax

```javascript
<string> TXTextControl.LoadSettings.documentPartName
```

### Examples

The following example demonstrates `TXTextControl.LoadSettings.documentPartName` in a practical document-editing workflow. SpreadsheetML only. Gets or sets the name of the part of the document to be loaded.

```javascript
function inspectDocumentPartName(loadSettings) {
    const documentPartName = loadSettings.documentPartName;
    console.log("document part name:", documentPartName);
}
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.LoadSettings.documentBasePath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-loadsettings/documentbasepath-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.LoadSettings.imageSearchPath Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-loadsettings/imagesearchpath-property/llms-full.txt)
