Share via


Surface.Surface Constructor

Initializes a new instance of the Surface class.

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

Syntax

'Declaration
Public Sub New ( _
    device As Device, _
    image As Bitmap, _
    pool As Pool _
)
'Usage
Dim device As Device
Dim image As Bitmap
Dim pool As Pool

Dim instance As New Surface(device, image, pool)
public Surface (
    Device device,
    Bitmap image,
    Pool pool
)
public:
Surface (
    Device^ device, 
    Bitmap^ image, 
    Pool pool
)
public Surface (
    Device device, 
    Bitmap image, 
    Pool pool
)
public function Surface (
    device : Device, 
    image : Bitmap, 
    pool : Pool
)
Not applicable.

Parameters

  • device
    Reference to the Device associated with the surface.
  • image
    Reference to a Bitmap object that contains the bitmap for the surface.
  • pool
    A Pool object that defines the memory class of the surface.

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

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