WoW:API GetScreenHeight: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m ({{wowapi}})
Line 1: Line 1:
<center>'''GetScreenHeight''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Returns the height of the window in pixels.
Returns the height of the window in pixels.


Line 28: Line 27:


: Returns the height of the window in pixels.
: Returns the height of the window in pixels.
----
{{template:WoW API}}

Revision as of 09:45, 18 June 2006

WoW API < GetScreenHeight

Returns the height of the window in pixels.

GetScreenHeight();

Arguments
none

Returns
Number screenHeight
screenHeight
Height of window in pixels

Example
if( GetScreenHeight() == 600) then ChatFrame:AddMessage("Using 800x600 mode"); end
Result
Using 800x600 mode

Description
Returns the height of the window in pixels.