ScreenOrientation Object

Applies to TestComplete 15.20, last modified on January 19, 2022

Description

The ScreenOrientation object is a collection of the supported mobile device screen orientations. The items of the collection describe each screen orientation.

The ScreenOrientation object provides access to the following constants

Value Constant Description
0 soPortrait Portrait orientation.
1 soLandscapeLeft Left (normal) landscape orientation.
2 soPortraitUpsideDown Upside down (reverse) portrait orientation.
3 soLandscapeRight Right (reverse) landscape orientation.

See Also

GetOrientation Method
SetOrientation Method
ResetOrientation Method
Simulating Screen Rotation (Legacy)

Highlight search results