Cls

This method clears graphics and text generated at run time from a Form or PictureBox control.

Syntax

object.Cls

Parameters

object
Object expression that evaluates to a Form or PictureBox control. If omitted, the Form with the focus is assumed to be object.

Return Value

None.

Remarks

Cls sets the CurrentX and CurrentY properties of a Form object to 0.