Remove PDF outlines using JavaScript
Nutrient Web SDK supports creating, editing, and removing document outlines in standalone mode 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 NutrientViewer.Immutable.List([]):
await instance.setDocumentOutline(NutrientViewer.Immutable.List([]));