11-29-2022, 03:09 PM
(11-29-2022, 02:40 PM)RhoSigma Wrote: Thanks for reporting @NasaCow,
the example has been corrected now, however only a comma is needed in front of Page& to designate the destination coordinate parameter is ommitted, which is slightly different from your solution:
_PUTIMAGE , sourceHandle&, destHandle& 'size full source to fit full destination area
_PUTIMAGE (dx1, dy1), sourceHandle&, destHandle& 'full source to top-left corner destination position
hence in your solution the Page wouldn't be scaled to fit the Preview, but it would simply put the Page in the top/left corner of the Preview, clipping areas of the Page, if it's larger than the Preview, which is probably not what you want for a print preview
There's always a catch when learning (didn't realize that option!) At least I got to understand it a bit better. Glad to give back