This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Multiple Tiffs

Dmitry,

I have multiple tiff images that I need to print. Right now I view the image and have to select each image and print them a page at a time. Is there a way to print all the images? I know that I will need to fetch them but I don't want to have to lead them in the control and show that image before I print it. I just want to be able to fetch the images and print them all without rendering each one in the control.

Thanks in advance

Chris
I have added all my single tiffs into one multipage tiff. Now what would be the best way to print a multipage tiff? Or is that the best solution?
Hi Chris,

There are no printing components in Graphics Mill, but you can try to use standard approach:


using (var pd = new System.Drawing.Printing.PrintDocument())
using (var bitmap = new Bitmap("image.jpg"))
{
    pd.PrintPage += (object sender, PrintPageEventArgs ev) =>
    {
        bitmap.DrawOn(ev.Graphics, 0, 0, CombineMode.Copy);
    };
    pd.Print();
}