ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 The simplest way to print all the images in folder
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

egold2005

11 Posts

Posted - May 12 2020 :  02:23:28  Show Profile  Reply
Hello,

I've got a TImageEnFolderMView showing a number of thumbnails for the images in folder, how do i send all of them to printer at once, without showing any dialogs etc?

Thanks,
Eugene.

xequte

39053 Posts

Posted - May 12 2020 :  19:03:08  Show Profile  Reply
Hi Eugene

Please use:

// Print all images stretched to the page center (respecting the proportions)
Printer.BeginDoc;
ImageEnMView1.MIO.PrintImage(IEM_ALL_IMAGES, Printer.Canvas, 0, 0, 0, 0, ievpCenter, iehpCenter, iesFitToPage, 0, 0, 1);
Printer.EndDoc;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: