Leadtools.Controls Namespace > ImageViewer Object : Invalidate Method |
function Leadtools.Controls.ImageViewer.invalidate( rc )
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.