Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BMP Rotation
Message
De
05/03/2009 19:51:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01385562
Message ID:
01386053
Vues:
36
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform