Stops the viewer from updating its parts and rendering the content if the document changes.
DocumentViewer.prototype.beginUpdate = function()
beginUpdate(): void;
The BeginUpdate method will cause the viewer to not update its parts and rendering the content. This is useful to increase the control's speed efficiency when adding or removing more than one page from the Document. When the user calls the EndUpdate method, the viewer will then update the parts to show all the changes that have been made.
For better visual results and for speed efficiency, it is recommended you surround multiple calls that will result in pages being added or removed between BeginUpdate and EndUpdate.
Calls to BeginUpdate and EndUpdate are accumulative. Each call to BeginUpdate must be matched with a corresponding call to EndUpdate or else updates to the viewer will not be applied.
When the final EndUpdate is called and updating is resumed, the viewer will render the new content of the parts.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET