DesktopUIControl.DrawInto
From Xojo Documentation
Method
DesktopUIControl.DrawInto(g as Graphics,x as Integer, y as Integer)
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
Draws the contents of the DesktopUIControl into the specified Graphics context. The parameters x and y are the coordinates of the top, left corner.
Notes
This method does not work with DesktopHTMLViewer and DesktopOpenGLSurface.
Example
This example draws the current control into the Graphics of a Picture and then displays it as the Backdrop of a Canvas: