RenderTargetBitmap Constructor
Collapse the table of content
Expand the table of content

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

 

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

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

[SecurityCriticalAttribute]
public RenderTargetBitmap(
	int pixelWidth,
	int pixelHeight,
	double dpiX,
	double dpiY,
	PixelFormat pixelFormat
)

Parameters

pixelWidth
Type: System.Int32

The width of the bitmap.

pixelHeight
Type: System.Int32

The height of the bitmap.

dpiX
Type: System.Double

The horizontal DPI of the bitmap.

dpiY
Type: System.Double

The vertical DPI of the bitmap.

pixelFormat
Type: System.Windows.Media.PixelFormat

The format of the bitmap.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft