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
)
Public Sub New (
image As Image,
Optional width As Nullable(Of Integer) = Nothing,
Optional height As Nullable(Of Integer) = Nothing,
Optional interpolation As ImageInterpolation = ImageInterpolation.Default
)
new :
image : Image *
?width : Nullable<int> *
?height : Nullable<int> *
?interpolation : ImageInterpolation
(* Defaults:
let _width = defaultArg width null
let _height = defaultArg height null
let _interpolation = defaultArg interpolation ImageInterpolation.Default
*)
-> Bitmap
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