This documentation is for the old version. Go to the latest Graphics Mill docs

BitmapViewer.InvalidateViewer Method (Rectangle)

Invalidates the specified region of the control and causes it to be repainted.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
Public Overrides Sub InvalidateViewer ( _
	rectangle As Rectangle _
)
C#
public override void InvalidateViewer(
	Rectangle rectangle
)

Parameters

rectangle

Type: System.Drawing.Rectangle

A rectangle that represents the region to invalidate.

Remarks

It is recommended to use this method instead of System.Windows.Forms.Control.Invalidate.

This method allows repainting of a specific region belonging to the control.

See Also

Reference