Hello
Is it possible to rotate an image 180°?
The image is stored in a database.
greetings
Rotate Image from Database
Rotate Image from Database
Hello.
Yes, it is possible to do.
In the GetImageDataEvent please write the following code:
Thank you.
Yes, it is possible to do.
In the GetImageDataEvent please write the following code:
Code: Select all
Image myImage = StiImageHelper.GetImageFromObject(MyDataSource.MyDataColumn);
myImage.RotateFlip(RotateFlipType.Rotate180FlipNone);
e.Value = myImage;
Rotate Image from Database
thanks,
that would be a nice feature for the designer
so long
ape
that would be a nice feature for the designer
so long
ape
Rotate Image from Database
i found a better solution in the designer:
double click on the image field.
->image data
and add following code:
double click on the image field.
->image data
and add following code:
Code: Select all
{ StiImageHelper.GetImageFromObject(MyDataSource.MyDataColumn); e.Value.RotateFlip(RotateFlipType.Rotate180FlipNone);}
Rotate Image from Database
Ok, we will add this feature then, no problem.ape wrote:thanks,
that would be a nice feature for the designer
so long
ape
We will inform you in this topic when the feature is available.
Thank you.
Rotate Image from Database
Hello,
We have added new property ImageRotation to Image component. Please check build from 9 Feb.
Thank you.
We have added new property ImageRotation to Image component. Please check build from 9 Feb.
Thank you.