Bookmark Add Function. Adds a Bookmark to the end of the list. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

Adds a Bookmark to the end of the list.

 

   
Syntax  

[C#]
int Add(Bookmark bookmark)
int Add(string title)

[Visual Basic]
Function Add(bookmark As Bookmark) As Integer
Function Add(title As String) As Integer

 

   

Params
 
Name Description
bookmark The bookmark to be added.
title The title for the bookmark to be added.
return The position in which the new element was inserted.

 

   

Notes
 

This method adds an item to the end of the list.

You can add a Bookmark directly or you can use one of the overloaded operators to add a bookmark with a specified title.

When you add a string this is encapsulated within a new Bookmark which is then inserted.

Bookmarks can exist in only one place at a time. If the Bookmark supplied is already contained by another object then a Clone of the Bookmark is added.

 

   

Example
 

None.