Partager via


DisplayMode Structure (Microsoft.DirectX.Direct3D)

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

The following table lists the members exposed by the object.

Methods

Method Description
DisplayMode Initializes a new instance of the DisplayMode class.
ToString Obtains a string representation of the current instance.

Properties

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