How to Print several Images as one PrintJob

Example requests & Code samples for GdPicture Toolkits.
Post Reply
sunseeker
Posts: 40
Joined: Mon Sep 08, 2008 2:28 pm

How to Print several Images as one PrintJob

Post by sunseeker » Tue Oct 21, 2008 4:28 pm

Hi,

how can i print several images from GDViewer-Controls to one PrintJob?

Greetings
Heiko

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: How to Print several Images as one PrintJob

Post by Loïc » Thu Oct 23, 2008 5:55 pm

Hi,

You can do that only with multipage image or PDF.

A workaround consists to build a multipage tiff image from the desired images using the Imaging class.
Also, you will be able to print all the images in one job like that:

Code: Select all

GdViewer1.SetNativeImage(MultiPageID)
Call GdViewer1.PrintSetFromToPage(1, GdViewer1.PageCount)
Call GdViewer1.PrintImage

Best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests