Click or drag to resize

Bitmap Constructor (Image, NullableInt32, NullableInt32, ImageInterpolation)

Create a new scaled bitmap with the specified width and height

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Bitmap(
	Image image,
	Nullable<int> width = null,
	Nullable<int> height = null,
	ImageInterpolation interpolation = ImageInterpolation.Default
)

Parameters

image
Type: Eto.DrawingImage
Image to scale
width (Optional)
Type: SystemNullableInt32
Width to scale the source image to
height (Optional)
Type: SystemNullableInt32
Height to scale the source image to
interpolation (Optional)
Type: Eto.DrawingImageInterpolation
Interpolation quality
See Also