Version

AddBookmark Method (IBookmark)

Creates a bookmark and adds it to the internal collection.
Syntax
'Declaration
 
Function AddBookmark( _
   ByVal pageIndex As Integer, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal title As String, _
   ByVal opened As Boolean _
) As IBookmark
IBookmark AddBookmark( 
   int pageIndex,
   float x,
   float y,
   string title,
   bool opened
)

Parameters

pageIndex
The index of the page to bookmark.
x
X-coordinate of the target.
y
Y-coordinate of the target.
title
The name to be associated with the bookmark.
opened
A boolean value indicating whether to show sub-level bookmarks.

Return Value

An object that implements the IBookmark interface.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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