### Canvas to Image

An example of drawing a circle direct on the MainForm canvas, make a snapshot of that circle and to an imageview.
Private cvs As Canvas
Private iv As ImageView
cvs.Initialize("csv")
MainForm.RootPane.AddNode(cvs, 0, 0, 100, 100)
cvs.DrawCircle(50, 50, 20, fx.Colors.Red, True, 0)
iv.Initialize("iv")
MainForm.RootPane.AddNode(iv, 0, 100, 100, 100)
iv.SetImage(cvs.Snapshot)

Changed: , Category: Image and ImageView, File: T6C199M1460.htm, ID: 1460