Clears graphics and text generated at run time from a Form or PictureBox.
object.Cls
The object placeholder represents an object expression that evaluates to an object. If object is omitted, the Form with the focus is assumed to be object.
The Cls method clears text and graphics generated at run time by graphics and printing statements. Background bitmaps set using the Picture property and controls placed on a Form at design time are not affected by Cls. Graphics and text placed on a Form while the AutoRedraw property is set to True are not affected if AutoRedraw is set to False before Cls is invoked. That is, you can maintain text and graphics on a Form by manipulating the AutoRedraw property of the object you are working with.
After Cls is invoked, the CurrentX and CurrentY properties of object are reset to 0.