Click or drag to resize

PdfBookmarkVisitorGetParent Method

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.

Namespace:  Atalasoft.PdfDoc
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static PdfBookmark GetParent(
	PdfBookmarkTree tree,
	PdfBookmark child
)

Parameters

tree
Type: Atalasoft.PdfDocPdfBookmarkTree
The bookmark tree.
child
Type: Atalasoft.PdfDocPdfBookmark
The child bookmark to search for.

Return Value

Type: PdfBookmark
Returns the parent PdfBookmark or .
See Also