Share via


PresentParameters.BackBufferWidth Property

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

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property BackBufferWidth As Integer
'Usage
Dim instance As PresentParameters
Dim value As Integer

value = instance.BackBufferWidth

instance.BackBufferWidth = value
public int BackBufferWidth { get; set; }
public:
property int BackBufferWidth {
    int get ();
    void set (int value);
}
/** @property */
public int get_BackBufferWidth ()

/** @property */
public void set_BackBufferWidth (int value)
public function get BackBufferWidth () : int

public function set BackBufferWidth (value : int)

Property Value

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

Remarks

If the Windowed property is false, a full-screen presentation, the width must equal the width of one of the enumerated display modes found through the DisplayModeCollection.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

PresentParameters Class
PresentParameters Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace