Difference between revisions of "Application:getDeviceHeight"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Returns the physical height of the device in pixels. For example,<br />
 
Returns the physical height of the device in pixels. For example,<br />
Line 9: Line 9:
 
(number) = Application:getDeviceHeight()
 
(number) = Application:getDeviceHeight()
 
</source>
 
</source>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>The physical height of the device in pixels</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The physical height of the device in pixels</translate><br/>

Revision as of 08:28, 24 August 2018

Available since: Gideros 2011.6

Description


Returns the physical height of the device in pixels. For example,
for iPhone 3GS this function returns 480 and for iPhone 4 (with retina display enabled) this function returns 960.

(number) = Application:getDeviceHeight()

Return values

Returns (number) The physical height of the device in pixels