Back

GetDisplayWidth

The GetDisplayHeight method gets the width of the screen area available to your app in pixels.

 app.GetDisplayWidth();

Example

function OnStart()
{
  width = app.GetDisplayWidth();
  app.ShowPopup( width );
}
  Copy   Copy All    Run