Page 1 of 1

Image in Databand

Posted: Wed Mar 07, 2007 5:23 am
by Brendan
Hi Stimulsoft,

I'm wondering if the following is somehow possible.
If I place an Image control inside a Databand and point it to a multipage tiff file, is there any way I can get it to render the other pages in the tiff file apart from just the first.

Thanks.

Image in Databand

Posted: Wed Mar 07, 2007 12:02 pm
by Vital
Hello!

Please add following code to BeforePrintEvent of Databand:

Code: Select all

Image1.Image.SelectActiveFrame(System.Drawing.Imaging.FrameDimension.Page, 0);
Thank you.

Image in Databand

Posted: Wed Mar 07, 2007 5:19 pm
by Brendan
Hi Vital,
Thanks for that.

I was loading my images via the File property so Image was null.
but I replaced Image1.Image with Image1.ImageToDraw and it seems to have worked.