Canvas.Backdrop
From Xojo Documentation
Property (As Picture )
aCanvas.Backdrop = newPictureValue
or
PictureValue = aCanvas.Backdrop
Supported for all project types and targets.
or
PictureValue = aCanvas.Backdrop
Supported for all project types and targets.
The passed Picture that will automatically be drawn into the area.
Notes
You should not assign a new picture to the backdrop of the control when being inside the paint event of that control. This can lead into problems like the backdrop not being painted.
Sample Code
The following code assigns a jpg image to the Backdrop. The image has been added to the project. The code is in the Open event.
Me.BackDrop = HouseImage