A www.Sockets4.NET class library

ImageCanvas.ResizeCanvas Method (Size, Color)

Changes the size of the ImageCanvas without stretching the underlying image.

public void ResizeCanvas(
   Size size,
   Color background
);

Parameters

size
New size of the image
background
Background color to be used if new size is larger

See Also

ImageCanvas Class | Sockets4Images Namespace | ImageCanvas.ResizeCanvas Overload List