# How to change initialDoc and reload viewer?

**URL:** <https://pdfjs.community/t/how-to-change-initialdoc-and-reload-viewer/1136>\
**Category:** Technical Support\
**Created:** [November 2, 2021, 5:16pm UTC](https://pdfjs.community/t/how-to-change-initialdoc-and-reload-viewer/1136 "2021-11-02T17:16:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [November 2, 2021, 5:16pm UTC](https://pdfjs.community/t/how-to-change-initialdoc-and-reload-viewer/1136/3 "2021-11-02T17:16:48Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Integrating PDF.js Express Plus into an existing Blazor project - Integrate PDF.js Express WebViewer](https://pdfjs.express/documentation/get-started/blazor/exist-project#integrate-pdf.js-express-webviewer)
- [What is PDF.js Express? - Web Viewer’s iframe](https://pdfjs.express/documentation/learn-more/inside-express-viewer.8#web-viewer's-iframe)
- [Best practices for PDF.js Express - Load documents with loadDocument](https://pdfjs.express/documentation/learn-more/best-practices#load-documents-with-loaddocument)

APIs:
- [CoreControls.DocumentViewer - zoomTo(zoom [, x] [, y])](https://pdfjs.express/api/7.0/CoreControls.DocumentViewer.html#zoomTo__anchor)
- [Core.Tools.TextUnderlineCreateTool - getDocumentViewer()](https://pdfjs.express/api/Core.Tools.TextUnderlineCreateTool.html#getDocumentViewer__anchor)
- [Core.Tools.StickyCreateTool - setSaveViewState(val)](https://pdfjs.express/api/Core.Tools.StickyCreateTool.html#setSaveViewState__anchor)

Forums:
- [How to remove divider from header?](https://pdfjs.community/t/how-to-remove-divider-from-header/1130/1)
- [PDFJSExpress + custom webviewer-ui.min.js](https://pdfjs.community/t/pdfjsexpress-custom-webviewer-ui-min-js/890/6)
- [TypeError: Cannot read property ‘nativeElement’ of undefined](https://pdfjs.community/t/typeerror-cannot-read-property-nativeelement-of-undefined/329/1)

---

_[View the full topic](https://pdfjs.community/t/how-to-change-initialdoc-and-reload-viewer/1136)._
