Author |
Topic  |
|
izaque
 
Brazil
95 Posts |
Posted - Apr 12 2012 : 12:17:53
|
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
|
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. |
 |
|
izaque
 
Brazil
95 Posts |
Posted - Apr 12 2012 : 13:11:16
|
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? |
 |
|
fab
   
1310 Posts |
Posted - Apr 15 2012 : 23:23:51
|
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...). |
 |
|
izaque
 
Brazil
95 Posts |
Posted - Apr 16 2012 : 04:36:37
|
thank you very much! |
 |
|
|
Topic  |
|
|
|