Disable detecting if the viewer size has changed.
ImageViewer.prototype.beginAutoSizeChanged = function()
beginAutoSizeChanged(): void;
The viewer hooks to standard HTML Window "sizechanged" or "orientationchange" events depending on the browser being used. This will allow the viewer to
recalculate the transformation matrix and cause a render if the size of the control (container div
) changes. If an action causes multiple size changes (for example,
a CSS transition or animation) then it is recommended to call BeginAutoSizeChanged to disable the automatic update and optimize performance and then
re-enable the feature by calling EndAutoSizeChanged.
Calls to BeginAutoSizeChanged and EndAutoSizeChanged are accumulative. Each call to BeginAutoSizeChanged must be matched with a corresponding call to EndAutoSizeChanged.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document