Bitmap Constructor (Image^, Int32, Int32)

 

Initializes a new instance of the Bitmap class from the specified existing image, scaled to the specified size.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
Bitmap(
	Image^ original,
	int width,
	int height
)

Parameters

original
Type: System.Drawing::Image^

The Image from which to create the new Bitmap.

width
Type: System::Int32

The width, in pixels, of the new Bitmap.

height
Type: System::Int32

The height, in pixels, of the new Bitmap.

Exception Condition
Exception

The operation failed.

.NET Framework
Available since 1.1
Return to top
Show: