Table of Contents

Class BookmarkNode

Namespace
UglyToad.PdfPig.Outline
Assembly
UglyToad.PdfPig.dll

A node in the Bookmarks (also known as outlines) of a PDF document.

public abstract class BookmarkNode
Inheritance
BookmarkNode
Derived
Inherited Members

Constructors

BookmarkNode(string, int, IReadOnlyList<BookmarkNode>)

Create a new BookmarkNode.

protected BookmarkNode(string title, int level, IReadOnlyList<BookmarkNode> children)

Parameters

title string
level int
children IReadOnlyList<BookmarkNode>

Properties

Children

The bookmark's sub-bookmarks.

public IReadOnlyList<BookmarkNode> Children { get; }

Property Value

IReadOnlyList<BookmarkNode>

IsLeaf

Whether this node is a leaf node (has no children).

public bool IsLeaf { get; }

Property Value

bool

Level

The node's level in the hierarchy.

public int Level { get; }

Property Value

int

Title

The text displayed for this node.

public string Title { get; }

Property Value

string