SoftwareBitmap 构造函数

定义

重载

SoftwareBitmap(BitmapPixelFormat, Int32, Int32)

初始化 SoftwareBitmap 类的新实例。

SoftwareBitmap(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode)

初始化 SoftwareBitmap 类的新实例。

SoftwareBitmap(BitmapPixelFormat, Int32, Int32)

初始化 SoftwareBitmap 类的新实例。

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)

参数

format
BitmapPixelFormat

新软件位图的像素格式。

width
Int32

int

新软件位图的宽度(以像素为单位)。

height
Int32

int

新软件位图的高度(以像素为单位)。

另请参阅

适用于

SoftwareBitmap(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode)

初始化 SoftwareBitmap 类的新实例。

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)

参数

format
BitmapPixelFormat

新软件位图的像素格式。

width
Int32

int

新软件位图的宽度(以像素为单位)。

height
Int32

int

新软件位图的高度(以像素为单位)。

alpha
BitmapAlphaMode

新软件位图的 alpha 模式。

另请参阅

适用于