SharpLeaf Reference > SharpLeaf Methods > AddBookmarkReference Method SharpLeaf.AddBookmarkReference Method
Flow text into the current paragraph that will point to a named bookmark (earlier or later set with SetBookmark).
Overloads
Example
lf.AddBookmarkReference("Conclusions","See conclusions p.{page}.");
// [...]
lf.SetBookmark("Conclusions");
Description
Keywords that may be replaced dynamically within argument text :
-
{page}
- Page number of the target bookmark
-
{title}
- Bookmark title as defined by SharpLeaf.SetBookmark
If these keywords need to be used as text, the closing braces can be escaped with a backslash, so that “\}” renders as “}”.
In PDF, the argument text will hyperlink to the bookmark entry.
See also ...SharpLeaf Members | SharpLeaf.SetBookmark Method
Send comments on this topic © Dyalog Ltd 2021
|