Resizes the image.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
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.'Resize image proportionally to width 100 bitmap.Transforms.Resize(100, 0) 'Resize image proportionally to height 100 'bitmap.Transforms.Resize(0, 100) 'Resize image to make both width and height equal 100 '(don't constrain proportions) 'bitmap.Transforms.Resize(100, 100)
//Resize image proportionally to width 100 bitmap.Transforms.Resize(100, 0); //Resize image proportionally to height 100 //bitmap.Transforms.Resize(0, 100); //Resize image to make both width and height equal 100 //(don't constrain proportions) //bitmap.Transforms.Resize(100, 100);