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
 Thumb
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

izaque

Brazil
95 Posts

Posted - Apr 12 2012 :  12:17:53  Show Profile  Reply
Hello, I wonder how can I print the images real ImageEnMView, when the property is StoreType with "ietThumb"?

fab

1310 Posts

Posted - Apr 12 2012 :  12:53:09  Show Profile  Reply
You cannot. TImageEnMView has only a thumbnail, not the full image.
Of course you can still create an hidden TImageEnMView which loads the full images and then use it to print them.
Otherwise, if you need to print only one image, you could load it in a hidden TImageEnView and use it to print the image.
Go to Top of Page

izaque

Brazil
95 Posts

Posted - Apr 12 2012 :  13:11:16  Show Profile  Reply
Ok, as I have many images, I can not load all in another ImageEnMView for lack of machine resources. But is there any way I can call only a preview dialog, like ". MIO.DoPrintPreviewDialog," and after that I get the parameters of the dialogue and send the command to the printer, Printer.BeginDoc ... ievImagem.IO.PrintImage (...) Printer.EndDoc?
Go to Top of Page

fab

1310 Posts

Posted - Apr 15 2012 :  23:23:51  Show Profile  Reply
quote:
But is there any way I can call only a preview dialog, like ". MIO.DoPrintPreviewDialog," and after that I get the parameters of the dialogue and send the command to the printer...


Unfortunately no. Anyway source code of that dialog is available and you could customize it if necessary.
Also, there is another method that could be useful for you: it is TImageEnMView.LoadFromFileOnDemand. It loads (full) images only when they are necessary (ie for displaying, for printing, for saving, etc...).
Go to Top of Page

izaque

Brazil
95 Posts

Posted - Apr 16 2012 :  04:36:37  Show Profile  Reply
thank you very much!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: