Resizes the image.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub Resize ( _
width As Integer, _
height As Integer, _
interpolationMode As InterpolationMode _
)
public void Resize(
int width,
int height,
InterpolationMode interpolationMode
)
Type: System.Int32
Width of resized bitmap. If it equals to 0, it is calculated automatically to preserve the aspect ratio of the source image. Both width and height cannot be 0 at the same time.Type: System.Int32
Height of resized bitmap. If it equals to 0, it is calculated automatically to preserve the aspect ratio of the source image. Both width and height cannot be 0 at the same time.Type: Aurigma.GraphicsMill.Transforms.InterpolationMode
InterpolationMode value specifying interpolation algorithm used during resizing.'Resize image proportionally to width 100
bitmap.Transforms.Resize(800, 0, _
Aurigma.GraphicsMill.Transforms.InterpolationMode.HighQuality)
//Resize image proportionally to width 100
bitmap.Transforms.Resize(800, 0,
Aurigma.GraphicsMill.Transforms.InterpolationMode.HighQuality);