Convert the Canvas to an image.
Syntax

[C#]

XImage ToImage();

[Visual Basic]

Function ToImage() As XImage
Notes

The canvas is rendered and the resulting XImage object is returned.

Example

None.