# Javascript: Section.format Property

> The section's formatting attributes.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: Section.format Property
- **149 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/section/format-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/section/format-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/section/format-property/llms-full.txt

---

### Description

The section's formatting attributes.

### Syntax

```javascript
<SectionFormat> Section.format
```

### Examples

The following example demonstrates `Section.format` in a practical document-editing workflow. The section's formatting attributes.

```javascript
function inspectFormat(section) {
    const format = section.format;
    console.log("format:", format);
}
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Section Object](https://docs.textcontrol.com/ds-server/reference/javascript/section/llms-full.txt)
- **Next:** [Javascript: Section.getLength Method](https://docs.textcontrol.com/ds-server/reference/javascript/section/getlength-method/llms-full.txt)
