Click or drag to resize

DpiHelperScaleBitmapToSize Method (Bitmap, Size, Boolean, NullableInterpolationMode)

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Bitmap ScaleBitmapToSize(
	Bitmap image,
	Size size,
	bool disposeSourceImage = false,
	Nullable<InterpolationMode> mode = null
)

Parameters

image
Type: System.DrawingBitmap
size
Type: System.DrawingSize
disposeSourceImage (Optional)
Type: SystemBoolean
mode (Optional)
Type: SystemNullableInterpolationMode

Return Value

Type: Bitmap
See Also