PresentParameters.BackBufferHeight Property (Microsoft.DirectX.Direct3D)

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

Definition

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

Property Value

System.Int32
Height 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 height must equal the height of one of the enumerated display modes found through the DisplayModeCollection. If Windowed is true and height is 0, the corresponding dimension of the client area of the DeviceWindow (or the focus window, if DeviceWindow is null) is taken.