Partager via


DisplayMode.Width Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the screen width, in pixels.

Definition

Visual Basic Public Property Width As Integer
C# public int Width { get; set; }
C++ public:
property int Width {
        int get();
        void set(int value);
}
JScript public function get Width() : int
public function set Width(int);

Property Value

System.Int32
An Int32Leave Site value that indicates the screen width in pixels.

This property is read/write.