Back

GetScreenHeight

Hello World

Returns the total screen height of the device in pixels.

app.GetScreenHeight( options ) → number: pixel

With the 'Real' option softkeys will be included in the value.

See Also: GetScreenWidth, GetScreenDensity

Example - Show Screen Height

function OnStart()
{
    var height = app.GetScreenHeight();
    app.Alert( height );
}
    Copy     Copy All       Run      
string: comma “,” separated: “Real”