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

C1.C1Pdf.4 Assembly > C1.C1Pdf 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.
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, _
   ByVal isOpen As System.Boolean _
) 
public void AddBookmark( 
   System.string text,
   System.int level,
   System.double y,
   System.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

Reference

C1PdfDocument Class
C1PdfDocument Members
Overload List