ScreenOrientation property
Use this property to retrieve and set the secreen orientation (portrait or landscape).
Syntax
ScreenOrientation value = obj.ScreenOrientation;
Type:ScreenOrientation
Use this property to retrieve and set the secreen orientation (portrait or landscape).
ScreenOrientation value = obj.ScreenOrientation;
Type:ScreenOrientation