←Select platform

Invalidate Method

Summary

A mathod that will be called when the automation needs to re-paint the control

Syntax

C#
VB
C++
public void Invalidate( 
   Rectangle rc 
) 
  
Sub Invalidate( _ 
   ByVal rc As Rectangle _ 
)  
void Invalidate(  
   Rectangle rc 
)  

Parameters

rc
The invalid rectangle to paint.

Remarks

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.

Example

For an example, refer to IAnnAutomationControl.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly