A mathod that will be called when the automation needs to re-paint the control
public void Invalidate(
Rectangle rc
)
Sub Invalidate( _
ByVal rc As Rectangle _
)
void Invalidate(
Rectangle rc
)
rc
The invalid rectangle to paint.
If your control is derived from the standard System.Windows.Forms.Control, then you do not need to implement this method (since the default System.Windows.Forms.Control.Invalidate will be used). If you have custom implementation, then simply invalidate your control surface when this method is called.
For an example, refer to IAnnAutomationControl.
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