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
 how can I print several pictures on one sheet?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Sep 18 2018 :  11:50:41  Show Profile  Reply
Hello,
how can I print several pictures on one sheet?
As shown here:


Klaus
www.klausdoege.de

w2m

USA
1990 Posts

Posted - Sep 18 2018 :  12:04:34  Show Profile  Reply
There are two simple ways to print multiple images with ImageEnMView1.MIO.DoPrintPreviewDialog or ShowWindowsPrintWizard:

1. Load 4 images into TImageEnMView
ImageEnMView1.MIO.DoPrintPreviewDialog('Print', True,
'Print Preview', False);

https://www.imageen.com/help/TImageEnMIO.DoPrintPreviewDialog.html


2. Add iexWindowsFunctions unit to uses then use ShowWindowsPrintWizard

Declaration
procedure ShowWindowsPrintWizard(ImageEnMView: TImageEnMView; bAllImages: Boolean); overload;
procedure ShowWindowsPrintWizard(ssFiles: TStrings); overload;

Description
Display the Windows Print Wizard with the images of a TImageEnMView or a file list.

Example
ShowWindowsPrintWizard( ImageEnMView1, True );

https://www.imageen.com/help/ShowWindowsPrintWizard.html


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Sep 19 2018 :  05:06:37  Show Profile  Reply
Hi,
yes I know ImageEnMView1.MIO.DoPrintPreviewDialog(''), but I would like to print the individual pictures in a self-specified size. Is that possible, how can I realize this?

Klaus
www.klausdoege.de
Go to Top of Page

w2m

USA
1990 Posts

Posted - Sep 19 2018 :  10:13:54  Show Profile  Reply
Did you try the ShowWindowsPrintWizard method? If you call ShowWindowsPrintWizard(ImageEnMView1, True); you can reproduce what you posted exactly. The size of the images depends on the number of images o be printed on a page and the page dimensions and orientation.

DoPrintPreviewDialog image size can also be specified to increase or decrease the thumbnail dimensions with a given page size.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Sep 19 2018 :  10:25:33  Show Profile  Reply
Thank yo i will try it.

I have just used the following dialog:
ImageEnMView1.MIO.DoPrintPreviewDialog('DigiFoto_Print');
Then i have set the parameter:

3 pictures on one sheet, that looks good.
But after printing I get a page with only one picture.

Why?

What I have noticed, when i use:
ImageEnMView1.MIO.PrintImages(2, 3, 0.1, 0.1, false,.....);
The text under the pictures is always the same size.
Even if I change the font size?

Klaus
www.klausdoege.de
Go to Top of Page

w2m

USA
1990 Posts

Posted - Sep 19 2018 :  10:43:42  Show Profile  Reply
DoPrintPreviewDialog:

I repeat… Try DoPrintPreviewDialog

This gives you what you requested.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Sep 19 2018 :  11:57:40  Show Profile  Reply
Hi Bill,
that's what I did!
But when printing comes only a picture on paper.
Also with your demo:
Demo - How to use Annotations With TImageEnMView with TImageEnVect

It only happens when choosing print, not when I print everything!
Have you a example for me how your text above.

Klaus
www.klausdoege.de
Go to Top of Page

w2m

USA
1990 Posts

Posted - Sep 19 2018 :  12:42:27  Show Profile  Reply
ShowPrintPreview Demo

attach/w2m/2018919124215_ShowPrintPreview.zip
56.25 KB

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

xequte

39142 Posts

Posted - Sep 19 2018 :  21:34:02  Show Profile  Reply
Hi Klaus

Do the images all print correctly if you set style to soft shadow?

If so, then that is a bug, which is fixed in 8.1.1 (next week).

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Sep 20 2018 :  04:09:17  Show Profile  Reply
Yes with softshadow print's fine.

Klaus
www.klausdoege.de
Go to Top of Page

xequte

39142 Posts

Posted - Sep 23 2018 :  03:08:51  Show Profile  Reply
OK, then that is fixed in 8.1.1.

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