Version

AddBookmark Method (XpsDocument)

Creates a new bookmark object that implements the IBookmark interface and adds it to the internal collection of objects.
Syntax
'Declaration
 
Public Function AddBookmark( _
   ByVal pageIndex As System.Integer, _
   ByVal x As System.Single, _
   ByVal y As System.Single, _
   ByVal title As System.String _
) As IBookmark
public IBookmark AddBookmark( 
   System.int pageIndex,
   System.float x,
   System.float y,
   System.string title
)

Parameters

pageIndex
Page index.
x
X-component of the target.
y
Y-component of the target.
title
The title of the bookmark.

Return Value

An object that implements the IBookmark interface.
Requirements

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

View on GitHub