RotateAll Method

Example-VB Example-VC++

Rotates all pages within the displayed image document to the degree and in the direction specified.  Then saves the image document.

Available With

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

Applies To

Image Edit control

Syntax

object.RotateAll [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)

Enter positive values for counter-clockwise rotation, negative values for clockwise rotation


Return Value

None

Remarks

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

This method saves the image document to disk.  As such, you cannot use the Undo method to undo the rotation performed.

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