ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / AddBookmark Method / AddBookmark(String,Int32,Int32,Double) Method
Text that appears on the outline tree.
Outline level (zero is the top level).
Index of the page that contains the bookmark.
Position on the specified page where the outline entry is located (in points).

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

    Parameters

    text
    Text that appears on the outline tree.
    level
    Outline level (zero is the top level).
    page
    Index of the page that contains the bookmark.
    y
    Position on the specified page where the outline entry is located (in points).
    See Also