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

# OutlineBuilder

## Overview

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

Builder for creating bookmarks (outlines) programmatically.

This class provides 3 methods for working with OutlineBuilder objects in .NET programs.
Available methods include: `Add`, `OutlineBuilder`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

## Methods

| Signature | Description |
|-----------|-------------|
| `OutlineBuilder(document: Document)` | Calls OutlineBuilder on this OutlineBuilder instance. |
| `Add(title: string, pageIndex: int)` | Add a top-level bookmark pointing to a page (0-based index). |
| `Add(title: string, page: Page)` | Add a top-level bookmark pointing to a page. |

## See Also

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