WoW:API GetScreenHeight: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 30: Line 30:


----
----
{{Template:WoW API}}
 
{{template:WoW API}}

Revision as of 19:45, 30 December 2005

GetScreenHeight -Documentation by AlexanderYoshi-

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.

Template:WoW API