WoW API: GetScreenHeight

From AddOn Studio
Revision as of 09:45, 18 June 2006 by WoWWiki>Starlightblunder ({{wowapi}})
Jump to navigation Jump to search

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.