Table of Contents

setDisplayDevice

( string deviceName, int width, int height=NULL, int bpp=NULL, bool fullScreen=NULL, int hz=NULL )Attempt to set the screen mode using as much information as is provided.

Syntax

bool setDisplayDevice(string %deviceName[, int %width, int %height=NULL, int %bpp=NULL, bool %fullScreen=NULL, int %hz=NULL]);

Parameters

string %deviceName
No description available.

[optional] int %width
No description available.

[optional] int %height=NULL
No description available.

[optional] int %bpp=NULL
No description available.

[optional] bool %fullScreen=NULL
No description available.

[optional] int %hz=NULL
No description available.

Return value

bool
No description available.

Remarks

Examples

Source

Engine

See also

getDisplayDeviceList
getRes
getResolutionList
getVideoDriverInfo
isDeviceFullScreenOnly
isFullScreen
nextResolution
prevResolution
setRes
setScreenMode
setVerticalSync
switchBitDepth
toggleFullScreen
videoSetGammaCorrection

References

optionsDlg::applyGraphics: base/client/scripts/allClientScripts.cs:4133
optionsDlg::applyGraphics: base/client/scripts/allClientScripts.cs:4135