# SectionLength Property

> Returns the number of characters in the section with a given number, starting at 1, without the section break character; a read-only Long at run time only.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > SectionLength Property
- **182 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionlength-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionlength-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionlength-property/llms-full.txt

---

Gets the number of characters in the section. The section break character is not included.

Introduced: 21.0.

### Syntax

```vbscript
TXTextControl.SectionLength Number
```

### Parameters

| Parameter | Description |
|---|---|
| Number | Specifies the section's number. The first section has the number 1. To get the number of the section at the text input position the [SectionAtInputPos](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionatinputpos-property/llms-full.txt) property can be used. |

### Data Types

| Name | Data type |
|---|---|
| Number | Long |
| Property value | Long |

### Limitations

Read only, run time only.

### See Also

- [Programming Category: Sections and Pages](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/sections-pages/llms-full.txt)

---

## Nearby

- **Previous:** [SectionInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectioninsert-method/llms-full.txt)
- **Next:** [SectionRestartPageNumbering Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/sectionrestartpagenumbering-property/llms-full.txt)
