SharpLeaf Reference > SharpLeaf Methods > SetBookmark Method > (String,Int32,Boolean,String)

SharpLeaf.SetBookmark Method (String,Int32,Boolean,String)

Create a bookmark entry for upcoming element (paragraph, text, includes, etc.).

public void SetBookmark(
    string title,
    int level,
    bool open,
    string url
);
title
title and unique identifier of the bookmark.
level
level of the bookmark in the bookmark tree view, starting at 1 (PDF only).
open
is the bookmark opened in the bookmark tree view (PDF only).
url
external resource to link to – instead of internal jump to target paragraph (PDF only).

See also ...

SharpLeaf Members | SharpLeaf.SetBookmark Method


Send comments on this topic
© Dyalog Ltd 2021