Share via


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 模式。

另請參閱

適用於