Transform in UWP Image Editor (SfImageEditor)
10 May 20211 minute to read
The image editor control can perform the image transformations namely,
flip. The transformations can be achieved in the following two ways:
- From Toolbar
- Using Code
To rotate an image, in toolbar, click the
Rotate button in the submenu of the
Transforms. Clicking the button results in rotating the image to 90 degrees clockwise from the current state.
Rotate method is used in the SfImageEditor control to rotate the image.
Angle cannot be specified in code to alter the rotation angle of the image
The ImageEditor control can show the mirror image. To get the mirror image of the loaded image, click
Flip button in the submenu of the
Transforms in the toolbar.
Flip method flips the image horizontally or vertically based on the
FlipDirection; it is specified as argument for the Flip method.
By default, image flips horizontally.