Releases all resources used by the DocumentViewer and delete the object.
DocumentViewer.prototype.dispose = function()
When the DocumentViewer is disposed, it will call the dispose methods of all its parts (View, Thumbnails, Bookmarks, Text and Annotations).
Disposing a document viewer will first clear the current document by using SetDocument(null), this will aborts all workers and wait for them to exit gracefully. Hence, a slight delay might happen when calling this method.
When the document viewer is disposed, it will also delete all the UI controls created and remove them from their parent containers.
For an example, refer to DocumentViewer.
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.