Invalidates a portion of the entire surface of the control and causes the control to be redrawn.
ImageViewer.prototype.invalidate = function(
rc
)
rc
Invalidate rectangle in control coordinates. Pass a LeadRectD or a rectangle with 0 width or height to invalidate
the entire surface of the control.
Calling Invalidate will cause the viewer to re-render the content of the view and items. The value of rc will be used as the invalid rectangle used with ImageViewerRenderEventArgs and if it is not empty, only that portion of the viewer will updated.
To re-render a single item quickly, use InvalidateItem or InvalidateItemByIndex.
For more information, refer to Image Viewer Rendering.
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