# Javascript: SubTextPartInfo.name Property

> The name of the SubTextPart.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: SubTextPartInfo.name Property
- **144 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/subtextpartinfo/name-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/subtextpartinfo/name-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/subtextpartinfo/name-property/llms-full.txt

---

### Description

The name of the SubTextPart.

### Syntax

```javascript
<string> SubTextPartInfo.name
```

### Examples

The following example demonstrates `SubTextPartInfo.name` in a practical document-editing workflow. The name of the SubTextPart.

```javascript
function inspectName(subTextPartInfo) {
    const name = subTextPartInfo.name;
    console.log("name:", name);
}
```

---

## Nearby

- **Previous:** [Javascript: SubTextPartInfo.length Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/subtextpartinfo/length-property/llms-full.txt)
- **Next:** [Javascript: SubTextPartInfo.start Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/subtextpartinfo/start-property/llms-full.txt)
