Shunde.NET Framework Class Library

ImageUtils.CreatedResizedCopy Method (Image, Int32, Int32, Boolean, Color, VerticalAlign, HorizontalAlign)

Creates a thumbnail of the current image, keeping width/height dimensions

public static Bitmap CreatedResizedCopy(
   Image image,
   Int32 newWidth,
   Int32 newHeight,
   Boolean addWhiteSpace,
   Color backgroundColor,
   VerticalAlign verticalAlign,
   HorizontalAlign horizontalAlign
);

Parameters

Image
Int32
Int32
Boolean
Color
VerticalAlign
HorizontalAlign

See Also

ImageUtils Class | Shunde.Utilities Namespace | ImageUtils.CreatedResizedCopy Overload List