GDI+ Rotate Image

GDI+ Rotate Image

Post by JHornic » Wed, 24 Sep 2003 11:55:26


Hi,



Post your code? What version of gdiplus.dll are you using?
What version of the Platform SDK are you using?

Thanks,
- John
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
Visit http://www.yqcomputer.com/
 
 
 

GDI+ Rotate Image

Post by Sriniva » Thu, 25 Sep 2003 02:13:26


Here is what Iam doing on Rotation:-
////////////////////////////
Image image(bstrFilename);
CDC* dc = GetDC();
Graphics graphics(dc->m_hDC);
Status ck = image.RotateFlip(Rotate90FlipNone);
if(ck == OK)
graphics.DrawImage(&image, 0, 100);
/////////////////////////////

The GDIplus.dll version is 5.00.3049.0

Platform SDK Version Feb 2003.

Thanks,
Srinivas

application,
confers no rights.
information on security.