PdfBookmarkCollectionAdd(String, Int32, PdfLinkPageLocation) Method

Adds a bookmark that opens a page of the document

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public PdfBookmark Add(
	string title,
	int pageNumber,
	PdfLinkPageLocation location = null
)

Parameters

title  String
The text displayed in the outline
pageNumber  Int32
The 1-based number of the page the bookmark opens
location  PdfLinkPageLocation  (Optional)
The location and zoom in the page. When null, the viewer shows the top of the page with the current zoom

Return Value

PdfBookmark
The added bookmark

See Also