Specifies the display orientation for an application running on a Tablet PC.
_SCREEN.DisplayOrientation [= nValue]
The settings for the DisplayOrientation property are:
If you omit the nValue parameter, DisplayOrientation returns a value indicating the current display orientation.
Display is in Upright Landscape mode.
Display is in Upright Portrait mode.
Display is in Inverted Landscape mode.
Display is in Inverted Portrait mode.
The DisplayOrientation property is read-write. If you change the DisplayOrientation property value, the Tablet PC's display orientation is rotated as it would from the Tablet PCвЂ™s control panel.
You can detect a Tablet PC screen rotation event by using the BINDEVENT( ) Function with the DisplayOrientation property.