How to disable screen orientation in ET1

I have a partner developing a RhoElements application on the ET1.  He wants to turn off screen orientation.

Do we have any documentation on turning off screen orientation within ET1?  

Or if there's sample RhoElements code that can disable the screen orientation, that would be great.

Robert Galvin
Matt,There are a couple of

Matt,

There are a couple of ways to do this:

1) Config.xml - this will be a global setting

ScreenOrientation\AutoRotate = 0

Capture.PNG

2) Programatically using screenOrientation object:

screenOrientation.autoRotate = 'Disabled';

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments