Edit this page

Canvas Resize via UI

You can use the Canvas Resize button which will open the canvas resize dialog. In the dialog you can set the alignment, the size, and the BackColor.


Canvas Resize Programmatically

The following snippet shows how you can use the ResizeCanvas method. You will need to specify the size, the alignment, and the BackColor.

Use the ResizeCanvas method

radImageEditor1.ImageEditorElement.ResizeCanvas(500, 500, ContentAlignment.BottomRight, Color.Red);
radImageEditor1.ImageEditorElement.SaveState();

radImageEditor1.ImageEditorElement.ResizeCanvas(500, 500, ContentAlignment.BottomRight, Color.Red)
radImageEditor1.ImageEditorElement.SaveState()

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy