pixelH: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting and new command group)
m (minor changes)
Line 11: Line 11:
|s1= '''pixelH'''
|s1= '''pixelH'''


|r1= [[Number]] - Pixel Height
|r1= [[Number]] - Pixel height


|x1= <code>_pixelHeight = '''pixelH''';</code>
|x1= <code>_pixelHeight = '''pixelH''';</code>

Revision as of 11:55, 5 March 2021

Hover & click on the images for description

Description

Description:
Returns the height of one pixel for current resolution.
Groups:
GUI Control - Positioning

Syntax

Syntax:
pixelH
Return Value:
Number - Pixel height

Examples

Example 1:
_pixelHeight = pixelH;

Additional Information

See also:
pixelGridpixelGridBasepixelGridNoUIScalepixelWPixel Grid System

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note