SpreadsheetGear 2017
Invalidate(Rectangle) Method






SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class > Invalidate Method : Invalidate(Rectangle) Method
Invalidates the cached WorkbookView drawing state and calls Control.Invalidate() which invalidates the surface of the WorkbookView and causes the WorkbookView to be redrawn. This causes the entire WorkbookView to be laid out and redrawn.
Syntax
'Declaration
 
Public Overloads Sub Invalidate( _
   ByVal rc As System.Drawing.Rectangle _
) 
'Usage
 
Dim instance As WorkbookView
Dim rc As System.Drawing.Rectangle
 
instance.Invalidate(rc)
public void Invalidate( 
   System.Drawing.Rectangle rc
)
public procedure Invalidate( 
    rc: System.Drawing.Rectangle
); 
public function Invalidate( 
   rc : System.Drawing.Rectangle
);
public: void Invalidate( 
   System.Drawing.Rectangle rc
) 
public:
void Invalidate( 
   System.Drawing.Rectangle rc
) 

Parameters

rc
Remarks
This method is thread safe and may be called by non-UI threads.
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

WorkbookView Class
WorkbookView Members
Overload List
Update Method
Refresh Method