Click or drag to resize
Pdf Library for .NET

PdfBookmarksCollectionInsert Method

Creates a new bookmark and inserts it at the specified zero based index in the bookmarks collection.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public PdfBookmark Insert(
	int index,
	string text,
	PdfDestination destination
)

Parameters

index
Type: SystemInt32
The zero based index where to insert the bookmark.
text
Type: SystemString
The bookmark text.
destination
Type: SelectPdfPdfDestination
The bookmark destination.

Return Value

Type: PdfBookmark
The newly created pdf bookmark.
See Also