Microsoft DirectX 9.0 SDK Update (October 2004)

PresentParameters.BackBufferWidth Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the width of a swap chain's back buffers, in pixels.

Definition

Visual Basic .NET Public Property BackBufferWidth As Integer
C# public int BackBufferWidth { get; set; }
Managed C++ public: __property int get_BackBufferWidth();
public: __property void set_BackBufferWidth(int);
JScript .NET public function get BackBufferWidth() : int
public function set BackBufferWidth(int);

Property Value

System.Int32 . Width of the swap chain's back buffers, in pixels.

This property is read/write. 

Remarks

If the Windowed property is false (that is, if the presentation is full-screen), the width must equal the width of one of the enumerated display modes found through the DisplayModeCollection. If Windowed is true and width is 0, the corresponding dimension of the client area of the DeviceWindow (or the focus window, if DeviceWindow is null) is taken.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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