SoftwareBitmap Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
SoftwareBitmap(BitmapPixelFormat, Int32, Int32) |
Menginisialisasi instans baru kelas SoftwareBitmap . |
SoftwareBitmap(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode) |
Menginisialisasi instans baru kelas SoftwareBitmap . |
SoftwareBitmap(BitmapPixelFormat, Int32, Int32)
Menginisialisasi instans baru kelas 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)
Parameter
- format
- BitmapPixelFormat
Format piksel dari bitmap perangkat lunak baru.
- width
-
Int32
int
Lebar bitmap perangkat lunak baru, dalam piksel.
- height
-
Int32
int
Tinggi bitmap perangkat lunak baru, dalam piksel.
Lihat juga
Berlaku untuk
SoftwareBitmap(BitmapPixelFormat, Int32, Int32, BitmapAlphaMode)
Menginisialisasi instans baru kelas 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)
Parameter
- format
- BitmapPixelFormat
Format piksel dari bitmap perangkat lunak baru.
- width
-
Int32
int
Lebar bitmap perangkat lunak baru, dalam piksel.
- height
-
Int32
int
Tinggi bitmap perangkat lunak baru, dalam piksel.
- alpha
- BitmapAlphaMode
Mode alfa dari bitmap perangkat lunak baru.
Lihat juga
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk