The information in this topic may be out of date. The current SDK reference guide has moved here.
screen_orientation property
Use this property to set and retrieve if the device is portrait or landscape
Syntax
obj.screen_orientation = value
value = obj.screen_orientation
Type:ScreenOrientation
screenOrientation