PDF for WinRT
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 Sub AddBookmark( _
   ByVal text As String, _
   ByVal level As Integer, _
   ByVal y As Double, _
   Optional ByVal isOpen As Boolean _
) 
'Usage
 
Dim instance As C1PdfDocument
Dim text As String
Dim level As Integer
Dim y As Double
Dim isOpen As Boolean
 
instance.AddBookmark(text, level, y, isOpen)
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.
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).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1PdfDocument Class
C1PdfDocument Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback