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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: