Releases all resources held by the canvas.
Syntax

[C#]

void Clear();
void Clear(double inWidth, double inHeight);

[Visual Basic]

Sub Clear()
Sub Clear(inWidth As Double, inHeight As Double)
Params
Name Description
inWidth The Canvas width.
inHeight The Canvas height.
Notes

This resets the Canvas, freeing up used memory.

Clear also resets width and height to zero or to the values specified as parameters.

See Also

Height

Width

Dispose

Example

None.