PDF for UWP | ComponentOne
C1.Xaml.Pdf Namespace / C1PdfDocument Class / AddBookmark Method / AddBookmark(String,Int32,Double,Boolean) 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).
Whether the children of the bookmark are initially visible.

In This Topic
    AddBookmark(String,Int32,Double,Boolean) 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, _
       ByVal isOpen As Boolean _
    ) 
    public void AddBookmark( 
       string text,
       int level,
       double y,
       bool isOpen
    )

    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).
    isOpen
    Whether the children of the bookmark are initially visible.
    See Also