Click or drag to resize
Pdf Library for .NET

PdfBookmarksCollectionInsert(Int32, String, Int32) Method

Convenience overload — inserts a new bookmark at the specified index targeting the specified page at its top-left corner.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public PdfBookmark Insert(
	int index,
	string text,
	int pageIndex
)

Parameters

index  Int32
The zero based index where to insert the bookmark.
text  String
The bookmark text.
pageIndex  Int32
Zero-based index of the destination page.

Return Value

PdfBookmark
The newly created pdf bookmark.
See Also