'Declaration Public Function New( _
ByVal widthNew width of the image.As System.Int32, _
ByVal heightNew height of the image.As System.Int32, _
ByVal imagePositionPosition of the original image within new image.As System.Drawing.Point, _
ByVal canvasColorCanvas color.As System.Drawing.Color _
)
public ResizeCanvasCommand(
System.Int32 width,
System.Int32 height,
System.Drawing.Point imagePosition,
System.Drawing.Color canvasColor
)
public: ResizeCanvasCommand(
System.Int32 width,
System.Int32 height,
System.Drawing.Point* imagePosition,
System.Drawing.Color* canvasColor
)
public:
ResizeCanvasCommand(
System.Int32 width,
System.Int32 height,
System.Drawing.Point^ imagePosition,
System.Drawing.Color^ canvasColor
)
Parameters
- width
- New width of the image.
- height
- New height of the image.
- imagePosition
- Position of the original image within new image.
- canvasColor
- Canvas color.