Image.flip Method

Rotates the image 180 degrees in a vertical or horizontal direction.

Syntax

public int flip(FlipType FlipType)

Run On

Client

Parameters

  • FlipType
    Type: FlipType Enumeration
    A FlipType enumeration that determines the way in which the image is flipped.

Return Value

Type: int
0 indicates success; otherwise, failure.

Remarks

The possible values for the FlipType parameter are those available in the FlipType system enum:

0

RotateNoneFlipNone

No flip

1

RotateNoneFlipX

Rotates the image 180 degrees in a horizontal direction.

2

RotateNoneFlipY

Rotates the image 180 degrees in a vertical direction.

See Also

Image Class

Image.rotate Method