Muokkaa

Jaa


RenderTargetBitmap(Int32, Int32, Double, Double, PixelFormat) Constructor

Definition

Initializes a new instance of the RenderTargetBitmap class that has the specified parameters.

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)

Parameters

pixelWidth
Int32

The width of the bitmap.

pixelHeight
Int32

The height of the bitmap.

dpiX
Double

The horizontal DPI of the bitmap.

dpiY
Double

The vertical DPI of the bitmap.

pixelFormat
PixelFormat

The format of the bitmap.

Attributes

Applies to