Table of Contents

Method CloneAndAutoScaleImage

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

CloneAndAutoScaleImage(Image)

Creates a scaled copy of the specified System.Drawing.Image control.

public static Image CloneAndAutoScaleImage(Image image)

Parameters

image Image

Image to scale.

Returns

Image

Scaled copy of the given System.Drawing.Image.

CloneAndAutoScaleImage(Image, float)

Creates a scaled copy of the specified System.Drawing.Image control.

public static Image CloneAndAutoScaleImage(Image image, float scaleFrom)

Parameters

image Image

Image to scale.

scaleFrom float

Specifies the scaling factor.

Returns

Image

Scaled copy of the given System.Drawing.Image.