Page 1 of 1

Print, keep image within pagewidth, possible ?

Posted: Sat Oct 01, 2005 5:28 pm
by Stef
Images that are too large, are printed outside the right border.

Is there a simple way to prevent that, by scaling too large images ?

thanks,

Posted: Sat Oct 01, 2005 5:51 pm
by DavidRM
As part of the printing process, just before assigning the RVE to the RVPrint for final formatting, I cycle through the RVE items and check the width and height of each image.

Prior to doing that, of course, I have to calculate the maximum width and height are possible (accounting for page margins). And when resizing, I keep the aspect ratio of width vs height the same.

-David

Posted: Sat Oct 01, 2005 7:12 pm
by Stef
thanks David,

that might be a good solution,
because mine main interest is for large documents,
which I generate one item at a time.

cheers,