From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DesktopWindow.DrawInto(g as Graphics, x as Integer, y as Integer)

New in 2021r3

Supported for all project types and targets.

Draws the contents of the window into the specified Graphics context.