Back
GetScreenDensity
The
GetScreenDensity
method gets the density of the phone/tablet screen in dots per inch (dpi).
app.GetScreenDensity();
Example
function OnStart()
{
dpi = app.GetScreenDensity();
app.ShowPopup( "dpi = " + dpi );
}
Copy
Copy All
Run