This example shows how to display the PDF logical structure tree (structure tags tree) panel. Clicking a 'Content' node in the tree will bring the associated document content into view.
window.onload = function(){
//DsPdfViewer.LicenseKey = "***key***";
const viewer = new DsPdfViewer("#viewer", {
workerSrc: "/document-solutions/javascript-pdf-viewer/demos/product-bundles/build/dspdfviewer.worker.js"
});
const structureTreePanelHandle = viewer.addStructureTreePanel();
viewer.open("/document-solutions/javascript-pdf-viewer/demos/product-bundles/assets/pdf/C1Olap-QuickStart.pdf").then(()=> {
viewer.openPanel(structureTreePanelHandle);
});
}