Specifies a rotation or inversion (flip) for an image. Read/write at design and run time.
Image.RotateFlip [ = nValue ]
Numeric data type. The following table lists the values for nValue.
nValue Setting Description
Specifies no rotation or flipping.
Specifies a 90-degree rotation without flipping.
Specifies a 180-degree rotation without flipping.
Specifies a 270-degree rotation without flipping.
Specifies no rotation and a horizontal flip.
Specifies a 90-degree rotation followed by a horizontal flip.
Specifies a 180-degree rotation followed by a horizontal flip.
Specifies a 270-degree rotation followed by a horizontal flip.
Applies To: Image Control
Animated .gif images are not supported.
Because an image can have an .msk file, the .msk file must be formatted properly.
|Visual FoxPro stores a single image in memory internally. If you use that image multiple times, Visual FoxPro renders it the same way regardless of RotateFlip. If you want to display the same image multiple times in various rotations, rename each copy of the image that you use. If you issue the CLEAR...RESOURCES command, Visual FoxPro reloads the image into memory and loses any prior GDI+ settings.|