Click or drag to resize

PdfBookmarkVisitor Class

PdfBookmarkVisitor is a utility class that can be used to visit each PdfBookmark contained in a PdfBookmarkTree. The tree can be visited either depth first or breadth first. The order of node visit in either breadth or depth first is undefined and subject to change.
Print each element in the tree in breadth first order.
foreach (PdfBookmarkResult result in new PdfBookmarkVisitor(tree, false)) {
Inheritance Hierarchy

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public class PdfBookmarkVisitor : IEnumerable<PdfBookmarkResult>, 

The PdfBookmarkVisitor type exposes the following members.

Public methodPdfBookmarkVisitor(PdfBookmarkTree, Boolean)
Initializes a new instance of the PdfBookmarkVisitor class.
Public methodPdfBookmarkVisitor(PdfBookmarkTree, Boolean, PdfBookmarkVisitorPredicate)
Initializes a new instance of the PdfBookmarkVisitor class.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetParent
Gets the parent PdfBookmark of a given child PdfBookmark if any. Returns if the child has no parent or is not contained within the given tree.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also