FANDOM


Line 18: Line 18:
   
 
==Details==
 
==Details==
  +
 
----
 
----
__NOTOC__
+
{{WoW API}}
{{Template:WoW API}}
 
[[Category:API Settings Functions|GetScreenResolutions]]
 

Revision as of 05:58, January 4, 2006

GetScreenResolutions -Documentation by Astinus-

Returns a list of available screen resolutions.

GetScreenResolutions();

Parameters

Arguments

Returns

Example

/script Resolution1, Resolution2 = GetScreenResolutions();
/script DEFAULT_CHAT_FRAME:AddMessage(string.format("Resolution1 = %s", Resolution1));
/script DEFAULT_CHAT_FRAME:AddMessage(string.format("Resolution2 = %s", Resolution2));

Result

Resolution1 = 800x600
Resolution2 = 1024x768

Details


Template:WoW API

Community content is available under CC-BY-SA unless otherwise noted.