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

# OutlineItem

## Overview

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

Represents a bookmark (outline item) in the document outline hierarchy.

This class provides 4 methods for working with OutlineItem objects in .NET programs.
Available methods include: `Add`, `Delete`, `Insert`, `OutlineItem`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Action`, `Bold`, `Children`, `Color`, `Destination`, `DestinationPageNumber`, and 6 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Title` | `string` | Read/Write | The bookmark title. |
| `Action` | `PdfAction?` | Read/Write | The action associated with this outline item, if any. |
| `Destination` | `IAppointment?` | Read/Write | The destination of this outline item (reads /Dest only). |
| `IsOpen` | `bool` | Read/Write | Whether this outline item is initially open (expanded). |
| `Open` | `bool` | Read/Write | Alias for IsOpen. |
| `IsBold` | `bool` | Read/Write | Whether the outline item title is displayed in bold. |
| `Bold` | `bool` | Read/Write | Alias for IsBold. |
| `IsItalic` | `bool` | Read/Write | Whether the outline item title is displayed in italic. |
| `Italic` | `bool` | Read/Write | Alias for IsItalic. |
| `Color` | `System.Drawing.Color` | Read/Write | The color of the outline item title, or empty (default black) if not set. |
| `DestinationPageNumber` | `int` | Read | The destination page number (1-based), or 0 if not set or not a page destination. |
| `Children` | `IReadOnlyList` | Read | Child outline items. |

## Methods

| Signature | Description |
|-----------|-------------|
| `OutlineItem()` | Create a new outline item that can be added to an OutlineCollection or another OutlineItem. |
| `Delete()` | Removes the first child outline item. |
| `Add(child: OutlineItem)` | Appends a child outline item. |
| `Insert(index: int, child: OutlineItem)` | Inserts a child outline item at a 1-based position. |

## See Also

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