共用方式為


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

點陣圖的高度 (以像素為單位)。

適用於