RotateRight Method

Example-VB Example-VC++

Rotates the displayed image 90 degrees to the right, or to the degree specified.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.RotateRight [Degrees]

Argument

Parameter Data Type Setting

Degrees Long Amount to rotate the displayed image in tenths of a degree (for example, enter 450 to rotate the image 45 degrees)

Notes:  The Degrees argument is available with Imaging for Windows Professional Edition V1.0, V1.1, and V2.0.

It is also available with Imaging for Windows 98, but accepts only the following values:  900, 1800, and 2700 tenths of a degree.

Return Value

None

Remarks

The Display method must be invoked prior to calling this method.

This method rotates annotations only when 900, 1800, or 2700 tenths of a degree (90, 180, or 270 degrees) is specified.

Invoking the RotateRight method modifies the displayed image.  The Save, SaveAs, or SavePage method must be invoked to save the modified image.

Invoking the RotateRight method sets the ImageModified property to True.