ComponentOne PDF for .NET
AddBookmark(String,Int32,Double) Method

C1.C1Pdf.4 Assembly > C1.C1Pdf 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).
Adds a bookmark to the current page.
Syntax
'Declaration
 
Public Overloads Sub AddBookmark( _
   ByVal text As System.String, _
   ByVal level As System.Integer, _
   ByVal y As System.Double _
) 
public void AddBookmark( 
   System.string text,
   System.int level,
   System.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

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List