Click or drag to resize
Pdf Library for .NET

PdfBookmarksCollectionAdd(String, Int32) Method

Convenience overload — adds a new bookmark that targets the specified page at its top-left corner.

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

Parameters

text  String
The bookmark text.
pageIndex  Int32
Zero-based index of the destination page.

Return Value

PdfBookmark
The newly created pdf bookmark.
See Also