ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Saving as PDF - don't enlarge

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Size 
UserName:
Password:
Mode 
Format  BoldItalicizedUnderline Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailBrowse for an image to attach to your post Browse for a zip to attach to your post Insert CodeInsert QuoteInsert List
   
Message 

 

Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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');


Nigel
Xequte Software
www.imageen.com
zerob Posted - May 01 2021 : 05:15:50
How did you solve it?
yeohray2 Posted - Apr 28 2021 : 04:50:20
Ok, I got it working manually using the PDF builder class.