DisplayMode Structure

Language:

Describes the display mode.

Definition

Visual Basic Public Structure DisplayMode
C# public struct DisplayMode 
C++ public value class DisplayMode sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

Method Description
DisplayMode Initializes a new instance of the DisplayMode class.
ToString Obtains a string representation of the current instance.
Property Description
Format Retrieves or sets the surface format of the display mode.
Height Retrieves or sets the screen height, in pixels.
RefreshRate Retrieves or sets the refresh rate.
Width Retrieves or sets the screen width, in pixels.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center