Click or drag to resize

UtilsResizeImage Method (Image, Size, Boolean, ImageFormat)

Namespace:  Scilligence.MolEngine.Companion
Assembly:  Scilligence.MolEngine.Companion (in Scilligence.MolEngine.Companion.dll) Version: 1.3.0.0 (7.0.0.40031)
Syntax
C#
public static byte[] ResizeImage(
	Image src,
	Size requiredSize,
	bool keepRatio,
	ImageFormat outFmt
)

Parameters

src
Type: System.DrawingImage
requiredSize
Type: System.DrawingSize
keepRatio
Type: SystemBoolean
outFmt
Type: System.Drawing.ImagingImageFormat

Return Value

Type: Byte
See Also