Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BMP Rotation
Message
From
05/03/2009 19:51:10
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01385562
Message ID:
01386053
Views:
37
>I needed to have the file on disk, I don't think the image control supports that.
>
>But thanks for your input,
>
>Bob
>
>>>Hello all
>>>
>>>I am looking for a code snippet using GDI+ that will rotate a BMP file 180 degrees
>>>
>>>Thanks in advance
>>>
>>>Bob
>>
>>Does not the native VFP image class do that for you with property RotateFlip = 2 - Rotate180FlipNone?

It does support a file on disk.

You just set the Picture property to the FileOnDisk and set the RotateFlip Property to what you want. Internally the control uses GDI+ to rotate/flip the image anyway.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform