Delen via


SoftwareBitmap Constructors

Definition

Overloads

SoftwareBitmap(BitmapPixelFormat, Int32, Int32)

Initializes a new instance of the SoftwareBitmap class.

SoftwareBitmap(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode)

Initializes a new instance of the SoftwareBitmap class.

SoftwareBitmap(BitmapPixelFormat, Int32, Int32)

Initializes a new instance of the SoftwareBitmap class.

public:
 SoftwareBitmap(BitmapPixelFormat format, int width, int height);
 SoftwareBitmap(BitmapPixelFormat const& format, int const& width, int const& height);
public SoftwareBitmap(BitmapPixelFormat format, int width, int height);
function SoftwareBitmap(format, width, height)
Public Sub New (format As BitmapPixelFormat, width As Integer, height As Integer)

Parameters

format
BitmapPixelFormat

The pixel format of the new software bitmap.

width
Int32

int

The width of the new software bitmap, in pixels.

height
Int32

int

The height of the new software bitmap, in pixels.

See also

Applies to

SoftwareBitmap(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode)

Initializes a new instance of the SoftwareBitmap class.

public:
 SoftwareBitmap(BitmapPixelFormat format, int width, int height, BitmapAlphaMode alpha);
 SoftwareBitmap(BitmapPixelFormat const& format, int const& width, int const& height, BitmapAlphaMode const& alpha);
public SoftwareBitmap(BitmapPixelFormat format, int width, int height, BitmapAlphaMode alpha);
function SoftwareBitmap(format, width, height, alpha)
Public Sub New (format As BitmapPixelFormat, width As Integer, height As Integer, alpha As BitmapAlphaMode)

Parameters

format
BitmapPixelFormat

The pixel format of the new software bitmap.

width
Int32

int

The width of the new software bitmap, in pixels.

height
Int32

int

The height of the new software bitmap, in pixels.

alpha
BitmapAlphaMode

The alpha mode of the new software bitmap.

See also

Applies to