Show Bookmark
17 Feb 20221 minute to read
The PDF Viewer server library allows you to show the bookmark programmatically by setting the enableBookmark property to true
. We can also disable the bookmark by setting the property to false
.
Default value of
enableBookmark
property is true.
The following steps are used to show the bookmark.
Step 1: Follow the steps provided in the link to create a simple PDF Viewer sample.
Step 2: Use the following code snippet to Show the Bookmark.
<ejs-pdfviewer id="pdfviewer" serviceUrl="/api/PdfViewer" documentPath="PDF Succinctly.pdf" enableBookmark="true"></ejs-pdfviewer>
Download the sample how to show bookmark