Click or drag to resize

DpiHelperScaleBitmapToSize(Bitmap, Int32, Boolean, NullableInterpolationMode) Method


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

Parameters

image  Bitmap
 
size  Int32
 
disposeSourceImage  Boolean  (Optional)
 
mode  NullableInterpolationMode  (Optional)
 

Return Value

Bitmap
See Also