We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Not able to rotate text and customview together

I want to rotate each element placed on image. 

 editor.RotatableElements = ImageEditorElements.CustomView;

using above line of code, at a time I can rotate only custom view elements. But what if I want to add text on image, and want to rotate the text also?

3 Replies

RA Rachel A Syncfusion Team August 29, 2019 01:22 PM UTC

Hi Daxa, 
 
Greetings from Syncfusion. 
 
We can also rotate the text by setting RotableElements as text like in the below code snippet. 
 
[C#] 
editor.RotatableElements=ImageEditorElements.CustomView||ImageEditorElements.Text; 
 
 
Fore more information on text rotation, refer the documentation link below. 
 
 
Thanks, 
Rachel. 



DV Daxa Varsani April 7, 2020 11:21 AM UTC

We can rotate text and custom view. that is good. Now if I also want to rotate shapes say for ex. square. how can I achieve?


RS Ramya Soundar Rajan Syncfusion Team April 8, 2020 06:53 AM UTC

Hi Daxa Varsani, 
 
Currently we don’t have support for rotating shapes in SfImageEditor. We have the option to rotate text and custom view alone. 

Regards, 
Ramya S 


Loader.
Up arrow icon