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).



   lf.AddBookmarkReference("Conclusions","See conclusions p.{page}.");
  // [...]


Keywords that may be replaced dynamically within argument text :

Page number of the target bookmark
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