Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
yeohray2
Posted - Apr 27 2021 : 03:59:06 I have a ImageEnMView containing a mix of large and small images. I set the paper size to A4, and save the images to a PDF file.
Images that are smaller than the page are resized to fit the page. Is there a setting to only resize images that are larger than the page, and keep the original size of the smaller images?
Or do I have to manually resize the images myself by adding a white border?
Thanks in advance.
Ray
3 L A T E S T R E P L I E S (Newest First)
xequte
Posted - May 03 2021 : 19:46:52 Hi
In 10.0.1 you will be able to use:
// Save all pages to PDF (A4) with centered images (and no scaling of small images)
ImageEnMView1.MIO.Params[0].PDF_PaperSize := iepA4;
ImageEnMView1.MIO.Params[0].PDF_PageMargin := Round( 0.5 * 72 );
ImageEnMView1.MIO.Params[0].PDF_ImageOptions := [iepioShrinkOnly, iepioCentered];
ImageEnMView1.MIO.DuplicateCompressionInfo(TRUE);
ImageEnMView1.MIO.SaveToFilePDF('d:\test.pdf');