Back
GetScreenDensity
GetScreenDensity returns the density of the device screen in dots per inch (dpi).
app.GetScreenDensity() ->
number
- integer
Example - Example
function OnStart()
{
dpi = app.GetScreenDensity();
app.ShowPopup( "dpi = " + dpi );
}
Copy
Copy All
Run