RenderTargetBitmap(Int32, Int32, Double, Double, PixelFormat) 构造函数

定义

初始化 RenderTargetBitmap 类的一个新实例,该实例具有指定的参数。

public:
 RenderTargetBitmap(int pixelWidth, int pixelHeight, double dpiX, double dpiY, System::Windows::Media::PixelFormat pixelFormat);
[System.Security.SecurityCritical]
public RenderTargetBitmap (int pixelWidth, int pixelHeight, double dpiX, double dpiY, System.Windows.Media.PixelFormat pixelFormat);
public RenderTargetBitmap (int pixelWidth, int pixelHeight, double dpiX, double dpiY, System.Windows.Media.PixelFormat pixelFormat);
[<System.Security.SecurityCritical>]
new System.Windows.Media.Imaging.RenderTargetBitmap : int * int * double * double * System.Windows.Media.PixelFormat -> System.Windows.Media.Imaging.RenderTargetBitmap
new System.Windows.Media.Imaging.RenderTargetBitmap : int * int * double * double * System.Windows.Media.PixelFormat -> System.Windows.Media.Imaging.RenderTargetBitmap
Public Sub New (pixelWidth As Integer, pixelHeight As Integer, dpiX As Double, dpiY As Double, pixelFormat As PixelFormat)

参数

pixelWidth
Int32

位图的宽度。

pixelHeight
Int32

位图的高度。

dpiX
Double

位图的水平 DPI。

dpiY
Double

位图的垂直 DPI。

pixelFormat
PixelFormat

位图的格式。

属性

适用于