WoW:API GetScreenHeight

From AddOn Studio
Revision as of 19:45, 30 December 2005 by WoWWiki>Muert
Jump to navigation Jump to search
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