DataGate Print File Designer® - Build 8.0.355 and above

Shape.OnPaint Method

OnPaint overrides the Control.OnPaint method and raises the Control.Paint event.

control.OnPaint(System.Windows.Forms.PaintEventArgs)

Parameters

A System.Windows.Forms.PaintEventArgs that contains the event data.

Remarks

The Control.Paint event occurs when a control is redrawn.  The event handler receives an argument of type PaintEventArgs which specifies the Graphics to use to paint the control and the ClipRectangle in which to paint.

See Also

Shape ClassShape Class Members | Control.OnPaint Method | Control.Paint Event | PaintEventArgs | PaintEventArgs.Graphics Property | PaintEventArgs.ClipRectangle Property