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

In this article
Not finding the help you need? Improve this article