【发布时间】:2012-07-15 13:37:06
【问题描述】:
背景:在 Picturebox 中,通过将 Bitmap 对象分配给 Picturebox 的 Image 属性,可以在屏幕上绘制位图图像。
问题:Picturebox在屏幕上绘制位图图像的绘制方法(GDI+?)是什么?
提前致谢。
【问题讨论】:
标签: c# picturebox
背景:在 Picturebox 中,通过将 Bitmap 对象分配给 Picturebox 的 Image 属性,可以在屏幕上绘制位图图像。
问题:Picturebox在屏幕上绘制位图图像的绘制方法(GDI+?)是什么?
提前致谢。
【问题讨论】:
标签: c# picturebox
如果PictureBox 是指System.Windows.Forms.PictureBox,它使用 GDI+ 进行绘制,因为 GDI+ 是所有 Windows 窗体 (WinForms) 使用的呈现技术。 WinForms 的 GDI+“包装器”来自System.Drawing。
另一方面,Windows Presentation Foundation (WPF) 使用 DirectX 来“绘制”。 WPF 没有 PictureBox 控件。
【讨论】: