Image.rotate Method

Rotates the image.

Syntax

public int rotate(RotateType RotateType)

Run On

Client

Parameters

Return Value

Type: int
0 indicates success; otherwise, failure.

Remarks

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

0

RotateNoneFlipNone

No rotation.

1

Rotate90FlipNone

Rotation by 90 degrees.

2

Rotate180FlipNone

Rotation by 180 degrees.

3

Rotate270FlipNone

Rotation by 270 degrees.

See Also

Image Class

Image.flip Method