Class PdfBookMark
Represents a PDF bookmark as seen in the sidebar of PDF reader software to help user's navigate.
Inheritance
System.Object
PdfBookMark
Namespace: IronPdf.Bookmarks
Assembly: IronPdf.dll
Syntax
public class PdfBookMark : Object
Constructors
PdfBookMark()
Declaration
public PdfBookMark()
Properties
FullBookmarkHierarchy
String representing the current bookmark title and all of its parents, each separated by two backslashes
Declaration
public string FullBookmarkHierarchy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PageIndex
The zero based page number that the bookmark links to.
Declaration
public int PageIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the page. |
ParentText
Text of the bookmark which acts as the parent to this bookmark. Use null or an empty string to represent a top-level bookmark.
Declaration
public string ParentText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PreviousText
Text of the bookmark which immediately precedes this bookmark. Use null or an empty string to represent the first bookmark of a given level.
Declaration
public string PreviousText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Text
The display text of the bookmark
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |