Table of Contents

Class PageTreeNode

Namespace
UglyToad.PdfPig.Content
Assembly
UglyToad.PdfPig.dll

A node in the PDF document's page tree. Nodes may either be of type 'Page' - a single page, or 'Pages' - a container for multiple child Page or Pages nodes.

public class PageTreeNode
Inheritance
PageTreeNode
Inherited Members

Properties

Children

The child nodes of this node if IsPage is false

public IReadOnlyList<PageTreeNode> Children { get; }

Property Value

IReadOnlyList<PageTreeNode>

IsPage

Whether this node is a page or not. If not it must be a /Pages container.

public bool IsPage { get; }

Property Value

bool

IsRoot

Whether this node is the root node.

public bool IsRoot { get; }

Property Value

bool

NodeDictionary

The dictionary for this node in the page tree.

public DictionaryToken NodeDictionary { get; }

Property Value

DictionaryToken

PageNumber

The number of this page if IsPage is true.

public int? PageNumber { get; }

Property Value

int?

Parent

The parent node of this node, unless it is the root node.

public PageTreeNode Parent { get; }

Property Value

PageTreeNode

Reference

The indirect reference for this node in the page tree.

public IndirectReference Reference { get; }

Property Value

IndirectReference

Methods

ToString()

public override string ToString()

Returns

string