WriteableBitmap(Int32, Int32) 构造函数

定义

初始化 WriteableBitmap 类的新实例。

public:
 WriteableBitmap(int pixelWidth, int pixelHeight);
 WriteableBitmap(int const& pixelWidth, int const& pixelHeight);
public WriteableBitmap(int pixelWidth, int pixelHeight);
function WriteableBitmap(pixelWidth, pixelHeight)
Public Sub New (pixelWidth As Integer, pixelHeight As Integer)

参数

pixelWidth
Int32

int

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

pixelHeight
Int32

int

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

适用于