Table of Contents

Class PdfNameTreeNode

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents a name tree node.

public sealed class PdfNameTreeNode : PdfDictionary, ICloneable, IEnumerable<KeyValuePair<string, PdfItem?>>, IEnumerable
Inheritance
PdfNameTreeNode
Implements
Inherited Members

Constructors

PdfNameTreeNode()

Initializes a new instance of the PdfNameTreeNode class.

public PdfNameTreeNode()

PdfNameTreeNode(bool)

Initializes a new instance of the PdfNameTreeNode class.

public PdfNameTreeNode(bool isRoot)

Parameters

isRoot bool

Properties

GreatestKey

Gets the greatest key.

public string GreatestKey { get; }

Property Value

string

IsRoot

Gets a value indicating whether this instance is a root node.

public bool IsRoot { get; }

Property Value

bool

KidsCount

Gets the number of Kids elements.

public int KidsCount { get; }

Property Value

int

LeastKey

Gets the least key.

public string LeastKey { get; }

Property Value

string

NamesCount

Gets the number of Names elements.

public int NamesCount { get; }

Property Value

int

Methods

AddKid(PdfNameTreeNode)

Adds a child node to this node.

public void AddKid(PdfNameTreeNode kidNode)

Parameters

kidNode PdfNameTreeNode

AddName(string, PdfItem)

Adds a key/value pair to the Names array of this node.

public void AddName(string key, PdfItem value)

Parameters

key string
value PdfItem