PDF for UWP | ComponentOne
C1.Xaml.Pdf Namespace / C1PdfDocument Class / AddBookmark Method / AddBookmark(String,Int32,Double) Method
Text that appears on the outline tree.
Outline level (zero is the top level).
Position on the current page where the outline entry is located (in points).

In This Topic
    AddBookmark(String,Int32,Double) Method
    In This Topic
    Adds a bookmark to the current page.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AddBookmark( _
       ByVal text As String, _
       ByVal level As Integer, _
       ByVal y As Double _
    ) 
    public void AddBookmark( 
       string text,
       int level,
       double y
    )

    Parameters

    text
    Text that appears on the outline tree.
    level
    Outline level (zero is the top level).
    y
    Position on the current page where the outline entry is located (in points).
    Remarks
    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).
    See Also