Gets the Dots Per Inch (also called Pixels Per Inch) of the device screen. This only works on iOS and Android, other platforms will return 0. On iOS this value is hardcoded by device, so if a new device is released then an AGK update will be required to get an accurate value. In the meantime an estimated value will be generated.


integer GetDeviceDPI()