Rotate Method

Example-VB Example-VC++

Displays a dialog box that lets end users rotate one or all of the pages in a displayed image document.  End users can specify the degree of rotation applied as well as the direction.

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.Rotate Option

Arguments

Parameter Data Type Setting

Option Boolean True Displays the Rotate All Pages dialog box; rotates all pages in the displayed image document as directed by the user
False Displays the Rotate Page dialog box; rotates the displayed image page as directed by the user

Return Value

None

Remarks

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

This method rotates annotations only when 90, 180, or 270 degrees is specified.

When set to True, the Rotate method saves the image document to disk.  As such, you cannot use the Undo method to undo the rotation performed.

When set to False, the Rotate method modifies the displayed image, but does not save it.  The Save, SaveAs, or SavePage method must be invoked to save the modified image.

Invoking the Rotate method sets the ImageModified property to True.