Page 1 of 1

Rotate image

Posted: Wed Jul 25, 2007 8:44 am
by ChristianH
I have an image placed at my report and like to rotate it by 180 degrees.
Is there any solution for this problem ?

Rotate image

Posted: Wed Jul 25, 2007 4:24 pm
by Vital
Can you say me how you load image to image component. Image stored in database or?

Thank you.

Rotate image

Posted: Thu Jul 26, 2007 1:46 am
by ChristianH
Image is loaded via hyperlink that is stored in a dataset.

Rotate image

Posted: Thu Jul 26, 2007 2:49 am
by Edward
Please use the following code in BeforePrint event of the image component:

Code: Select all

System.Drawing.Image image = Stimulsoft.Base.Drawing.StiImageFromURL.LoadBitmap(yourURL);
image.RotateFlip(System.Drawing.RotateFlipType.Rotate180FlipNone);
ImageComponentInReport.Image = image; 
Thank you.

Rotate image

Posted: Thu Jul 26, 2007 5:41 am
by ChristianH
Your solution for an image worked, thanks !

But we found out that we need a whole subreport to be rotated because there is a hierarchical band included that should be rotated, too.
We´d like to have a page divided into two columns. Left column normal, right column 180 degrees rotated...

Maybe it is possible to show a complete column rotated by 180 degrees ?
The column direction isn´t important, there would be 5 equal elements in each column.

Rotate image

Posted: Thu Jul 26, 2007 11:16 am
by Edward
Please see "CrossTabUsingCrossBands" sample report from the Demo.exe Application from the standard delivery.
Maybe it is the key for your task.

If not then please provide us with more details about your aim.

Thank you.

Rotate image

Posted: Fri Jul 27, 2007 2:58 am
by ChristianH
Sorry but I can´t derive any solution from this demo.

Our aim is to create business cards with texts, images and a hierarchical band on it.
We´d like to have two columns with five cards on each.

The cards on the left column should be turned by 180 degrees.

We´ve tried to rotate each object itself and there´s no problem with the images and texts but the hierarchical band can´t be rotated.
Is there a possibility to change the order of levels within the hierarchical that results in up a inverted structure ?


Rotate image

Posted: Tue Jul 31, 2007 10:23 am
by Edward
Your aim is clear now.

But we do not see any simple solution for your task now.

Thank you.