# Javascript: SectionFormat.pageMargins Property

> Gets the section's page margins.

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

---

### Description

Gets the section's page margins.

### Syntax

```javascript
<PageMargins> SectionFormat.pageMargins
```

### Examples

The following example demonstrates `SectionFormat.pageMargins` in a practical document-editing workflow. It gets the section's page margins.

```javascript
function inspectPageMargins(sectionFormat) {
    const pageMargins = sectionFormat.pageMargins;
    console.log("page margins:", pageMargins);
}
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Javascript: SectionFormat.pageBorder Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/sectionformat/pageborder-property/llms-full.txt)
- **Next:** [Javascript: SectionFormat.pageSize Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/sectionformat/pagesize-property/llms-full.txt)
