Releases all resources held by the canvas.

 

   
Syntax
 
     

[VBScript]
Canvas.Clear

 

   
Params
 
     
Name   Type   Description
none    

 

   
Notes
 
     

This resets the Canvas freeing up all memory being used for images.

Clear resets the height and width to zero and depth to millions.

 

   
See Also
 
     

Canvas Height property.
Canvas Width property.
Canvas Depth property.

 

   
Example
 
     

[VBScript]
mycanvas.Clear