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

# TocInfo

## Overview

`TocInfo` is a class in Aspose.PDF FOSS for .NET.

Table of contents information for a page.

Properties: `ColumnInfo`, `CopyToOutlines`, `FormatArray`, `FormatArrayLength`, `IsCountTocPages`, `IsShowPageNumbers`, and 3 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Title` | `TextFragment?` | Read/Write | Title displayed at the top of the TOC page. |
| `IsShowPageNumbers` | `bool` | Read/Write | Whether page numbers are shown next to each TOC entry. |
| `ColumnInfo` | `ColumnInfo?` | Read/Write | Multi-column layout descriptor for the TOC page. |
| `CopyToOutlines` | `bool` | Read/Write | True when the TOC headings should also be appended to the document's outline tree. |
| `FormatArrayLength` | `int` | Read/Write | Length of FormatArray; setter resizes the array padding with default LevelFormat instances. |
| `FormatArray` | `LevelFormat[]?` | Read/Write | Per-level format descriptors. |
| `IsCountTocPages` | `bool` | Read/Write | True when the TOC's own page count is included in the destination page numbers it prints. |
| `LineDash` | `TabLeaderType` | Read/Write | Tab-leader style between heading text and page number. |
| `PageNumbersPrefix` | `string?` | Read/Write | String inserted before each page number ("p. |

## See Also

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