Releases all resources held by the canvas.
[Visual Basic] Sub Canvas.Clear()
Sub Canvas.Clear()
[C#] void Canvas.Clear();
void Canvas.Clear();
This resets the Canvas freeing up all memory being used for images.
Clear resets the height and width to zero and depth to millions.
Canvas Height property. Canvas Width property. Canvas Depth property.
[Visual Basic] mycanvas.Clear()
mycanvas.Clear()
[C#] mycanvas.Clear();
mycanvas.Clear();