SDK

Low-Code

Workflow

DWS API

Web Guides Bookmarks and outlines Outlines

Remove PDF outlines using JavaScript

Information

Creating, editing, or removing document outlines is available when using Web SDK in the browser. For more information, refer to the operational mode guide.

With Nutrient Web SDK, you can delete PDF outlines using the instance.setDocumentOutline method. The example below shows how to do it by setting the outline to an empty PSPDFKit.Immutable.List([]):

await instance.setDocumentOutline(PSPDFKit.Immutable.List([]));