Forces the rendering of the page into one (or several) specified way(s).
Syntaxvar retVal = Screen.msLockOrientation(orientations);
- orientations [in]
- retVal [out, retval]
If the lock is done on only one orientation, the screen will stay on the given orientation and never change until the screen orientation is unlocked (with msUnlockOrientation). Otherwise, the screen orientation can change between any of the specified orientations it is locked to, as the user rotates the host device.