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

# OutlineItemBuilder

## Overview

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

Builder for a single outline item with fluent API.

This class provides 6 methods for working with OutlineItemBuilder objects in .NET programs.
Available methods include: `AddChild`, `SetBold`, `SetColor`, `SetItalic`, `SetOpen`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `IsBold`, `IsItalic`, `IsOpen`, `PageIndex`, `Title`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Title` | `string` | Read/Write | Gets or sets the title. |
| `PageIndex` | `int` | Read | Gets the page index. |
| `IsOpen` | `bool` | Read | Gets the is open. |
| `IsBold` | `bool` | Read | Gets the is bold. |
| `IsItalic` | `bool` | Read | Gets the is italic. |

## Methods

| Signature | Description |
|-----------|-------------|
| `AddChild(title: string, pageIndex: int)` | Add a child bookmark. |
| `AddChild(title: string, page: Page)` | Add a child bookmark pointing to a page. |
| `SetOpen(open: bool)` | Set whether this bookmark is initially open/expanded. |
| `SetColor(r: double, g: double, b: double)` | Set the bookmark text color (RGB 0.0-1.0). |
| `SetBold(bold: bool)` | Set bold style. |
| `SetItalic(italic: bool)` | Set italic style. |

## See Also

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