背景:在 Picturebox 中,通过将 Bitmap 对象分配给 Picturebox 的 Image 属性,可以在屏幕上绘制位图图像。
问题: Picturebox在屏幕上绘制位图图像的绘制方法(GDI+?)是什么?
提前致谢。
背景:在 Picturebox 中,通过将 Bitmap 对象分配给 Picturebox 的 Image 属性,可以在屏幕上绘制位图图像。
问题: Picturebox在屏幕上绘制位图图像的绘制方法(GDI+?)是什么?
提前致谢。
If by PictureBox
you mean System.Windows.Forms.PictureBox
, it paints with GDI+ as GDI+ is the rendering technology used by all of Windows Forms (WinForms). The GDI+ "wrapper" for WinForms comes from System.Drawing
.
Windows Presentation Foundation (WPF) on the other hand, uses DirectX to "paint". WPF does not have a PictureBox control.