Click or drag to resize

Bitmap Constructor (Image, Nullable<Int32>, Nullable<Int32>, 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.Drawing.Image
Image to scale
width (Optional)
Type: System.Nullable<Int32>
Width to scale the source image to
height (Optional)
Type: System.Nullable<Int32>
Height to scale the source image to
interpolation (Optional)
Type: Eto.Drawing.ImageInterpolation
Interpolation quality
See Also