共用方式為


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

點陣圖的格式。

屬性

適用於