[]
Adds a bookmark to the current page.
public void AddBookmark(string text, int level, double y)
Type | Name | Description |
---|---|---|
string | text | Text that appears on the outline tree. |
int | level | Outline level (zero is the top level). |
double | y | Position on the current page where the outline entry is located (in points). |
Most long Pdf documents contain an outline structure that is displayed on a pane on the left of the reader. The outline makes it easy to browse through a document's structure and find specific topics. The AddBookmark method allows you to build this outline structure by adding outline entries (bookmarks).
Adds a bookmark to the current page.
public void AddBookmark(string text, int level, double y, bool isOpen)
Type | Name | Description |
---|---|---|
string | text | Text that appears on the outline tree. |
int | level | Outline level (zero is the top level). |
double | y | Position on the current page where the outline entry is located (in points). |
bool | isOpen | Whether the children of the bookmark are initially visible. |
Adds a bookmark to the specified page.
public void AddBookmark(string text, int level, int page, double y)
Type | Name | Description |
---|---|---|
string | text | Text that appears on the outline tree. |
int | level | Outline level (zero is the top level). |
int | page | Index of the page that contains the bookmark. |
double | y | Position on the specified page where the outline entry is located (in points). |
Adds a bookmark to the specified page.
public void AddBookmark(string text, int level, string target)
Type | Name | Description |
---|---|---|
string | text | Text that appears on the outline tree. |
int | level | Outline level (zero is the top level). |
string | target | Exist target name of this document from AddTarget method. |