LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

Invalidate Method






The invalid rectangle to paint.
A mathod that will be called when the automation needs to re-paint the control
Syntax
void Invalidate( 
   Rectangle rc
)
'Declaration
 
Sub Invalidate( _
   ByVal rc As Rectangle _
) 
'Usage
 
Dim instance As IAnnAutomationControl
Dim rc As Rectangle
 
instance.Invalidate(rc)
void Invalidate( 
   Rectangle rc
)
function Leadtools.Annotations.IAnnAutomationControl.Invalidate( 
   rc 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.