Images

Hi...

How can I retrieve images inserted in SfRichTextEditor?

Best regards...


Marcel Souza
Pds Informática

2 Replies

DB Dilli Babu Nandha Gopal Syncfusion Team April 15, 2020 07:11 AM UTC

Hi Marcel, 
 
Thank you for contacting Syncfusion support. 
 
At present, images in SfRichTextEditor can be used in another SfRichTextEditor in a same XAML page of the application. We have planned to implement a feature “Retrieving RichTextEditor image as base64 string” in our upcoming SP release which will be available May 2020 tentatively. Once this feature is implemented, images can be used in different pages/application. The status of this feature can be tracked using following feedback link 
 
Regards, 
Dilli babu. 



DS Devaraj Sekar Syncfusion Team May 14, 2020 09:57 AM UTC

Hi Marcel, 
Thank you for the patience.  
The support with “Retrieving RichTextEditor image as base64 string” has been implemented and included in our Essential Studio Volume 1 Service Pack release, which can be downloaded from the below mentioned link.  
We have prepared a sample based on the implemented feature which can be downloaded from the below link.  
To save the image as base64 in Html, kindly use the below mentioned code snippet  
Syncfusion.XForms.RichTextEditor.ImageSource imageSource = new Syncfusion.XForms.RichTextEditor.ImageSource                
  {                
      ImageStream = imageStream,                
      SaveOption = ImageSaveOption.Base64          
        };               
   imageInsertedEventArgs.ImageSourceCollection.Add(imageSource);              
 

Kindly let us know if you require any further assistance.  

Regards,  
Devaraj S 


Loader.
Up arrow icon