Export to Jpg

Hi everyone
Is it possible and how
Can i export the window1 or report1 content to High Res JPG
The purpose of my app is to produce a High Res Jpeg
of a pre-determinate layout of pictures-( selected by user )
and print-it to local store photo output
Thanks

dim f as FolderItem = SpecialFolder.Desktop.Child("window1.jpg") dim p as new Picture (window1.Width, window1.Height, 32) window1.Drawinto (p.Graphics, 0, 0) if f <> nil then p.Save(f, Picture.SaveAsJPEG, 100) end if

(100 = Quality)

-QualityMax 100
-QualityHigh 80
-QualityMedium 50
-QualityLow 25
-QualityMin 0

Wow Axel
i don’t expected much
My missing puzzle was

window1.Drawinto (p.Graphics, 0, 0)

Thank you very much