Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Sep 17, 2017 12:17

The orientation option is a constant, set between two predefined constants, these are not strings. In order to allow to rotate Device (Portrait/Landscape) through Data Table do the following:

  1. Set the strings in the Data Table

  2. Use a string compare for the string with "Portrait".

  3. Use a condition:

    • If successful - Rotate Device to Portrait.
    • If failed - Rotate Device to Landscape.

*Attached are the script and the Data Table that you can import and use.


<?xml version="1.0" encoding="UTF-8"?>