---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/tocoptions
---

# TOCOptions

## Overview

`TOCOptions` is a type in Aspose.PDF FOSS for Go.

TOCOptions controls how a table of contents is rendered.

Properties: `EntryStyle`, `IndentStep`, `LineSpacing`, `Margin`, `NoLeader`, `NoLinks`, and 3 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Title` | `string` | Read/Write | Gets the title. |
| `TitleStyle` | `TextStyle` | Read/Write | Gets the title style. |
| `EntryStyle` | `TextStyle` | Read/Write | Gets the entry style. |
| `IndentStep` | `float64` | Read/Write | Gets the indent step. |
| `LineSpacing` | `float64` | Read/Write | Gets the line spacing. |
| `Margin` | `float64` | Read/Write | Gets the margin. |
| `NoPageNumbers` | `bool` | Read/Write | Gets the no page numbers. |
| `NoLeader` | `bool` | Read/Write | Gets the no leader. |
| `NoLinks` | `bool` | Read/Write | Gets the no links. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)