WmfImage.ResizeCanvas

WmfImage.ResizeCanvas method

Resize the canvas of the image, adjusting its dimensions while retaining the image content. Utilize this method to modify the size of the canvas without altering the content, facilitating layout adjustments and composition changes within your application.

public override void ResizeCanvas(Rectangle newRectangle)
ParameterTypeDescription
newRectangleRectangleThe new rectangle.

Exceptions

exceptioncondition
NotImplementedException

See Also