WoW API: GetScreenHeight
Jump to navigation
Jump to search
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.