Several months back, I wrote about how to determine whether or not a device supported screen rotation. This post prompted the question of how to programmatically rotate the device..The snippets below check the device's current display orientation. If portrait (Angle0), the orientation is changed to landscape (Angle90). If the device has any orientation other than Angle0, it is changed to portrait.
C#//--------------------------------------------------------------------- //THI
read more »
Be the first to post a Comment!