Moving shapes to Front and Back

The image editor control allows to change the position of shapes/edits that are arranged over the editor. This can be achieved using the following methods:

  1. BringToFront
  2. SendToBack
  3. BringForward
  4. SendBackward

BringToFront

The BringToFront method is used to bring the selected shapes/text to the front of a group of elements over an image.

editor.BringToFront();

SendToBack

The SendToBack method is used to send the selected shapes/text to the back of a group of elements over an image.

editor.SendToBack();

BringForward

The BringForward method is used to bring the selected shapes/text to one step front of a group of elements over an image.

editor.BringForward();

SendBackward

The SendBackward method is used to send the selected shapes/text to one step backward of a group of elements over an image.

editor.SendBackward();

SfImageEditor