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

# Bookmark

## Overview

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

A single bookmark extracted from a document's outline tree by ExtractBookmarks().

Properties: `Action`, `BoldFlag`, `ChildItem`, `ChildItems`, `CustomAcorbatViewerMenuActionName`, `Destination`, and 13 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Title` | `string?` | Read/Write | The bookmark title. |
| `PageNumber` | `int` | Read/Write | 1-based page number the bookmark targets, or 0 if the destination cannot be resolved. |
| `Destination` | `string?` | Read/Write | The destination as a string. |
| `Action` | `string?` | Read/Write | The action type identifier ("GoTo", "URI", "Launch", etc.) when the outline item carries an /A action entry. |
| `BoldFlag` | `bool` | Read/Write | True when the bookmark title is rendered in bold. |
| `ItalicFlag` | `bool` | Read/Write | True when the bookmark title is rendered in italic. |
| `Level` | `int` | Read/Write | Nesting level: 1 for top-level, 2 for first-level children, … |
| `PageDisplay` | `string?` | Read/Write | The /F (Fit) display mode string from the destination, or null. |
| `RemoteFile` | `string?` | Read/Write | The remote file path for GoToR-style bookmarks, or null. |
| `TitleColor` | `System.Drawing.Color` | Read/Write | Title rendering color (defaults to black when /C is absent). |
| `ChildItems` | `Bookmarks` | Read/Write | Child bookmarks in the original outline tree. |
| `ChildItem` | `Bookmarks` | Read/Write | Singular alias for ChildItems. |
| `Open` | `bool` | Read/Write | True when the bookmark renders its child outline items expanded. |
| `PageDisplay_Left` | `int` | Read/Write | Explicit-destination /XYZ left coordinate. |
| `PageDisplay_Top` | `int` | Read/Write | Explicit-destination /XYZ top coordinate. |
| `PageDisplay_Right` | `int` | Read/Write | Explicit-destination /FitR right coordinate. |
| `PageDisplay_Bottom` | `int` | Read/Write | Explicit-destination /FitR bottom coordinate. |
| `PageDisplay_Zoom` | `int` | Read/Write | Explicit-destination /XYZ zoom factor (0 = inherit). |
| `CustomAcorbatViewerMenuActionName` | `System.Enum[]?` | Read/Write | Custom Acrobat viewer menu actions associated with the bookmark. |

## See Also

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