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.
Unfortunately, activation email could not send to your email. Please try again.

Images are not loaded when loading a document.

Thread ID:





132196 Aug 19,2017 01:36 AM Aug 21,2017 01:36 AM UWP 1
Tags: SfRichTextBoxAdv
Sandesh Kamble
Asked On August 19, 2017 01:36 AM

I'm trying trying out SfRichTextBoxAdv control from Syncfucsion Essential Studio for UWP. I am trying to load RTF and DocX file in this component. Text gets loaded but images are not loaded properly. Instead a blank placeholder is shown at the place of image.
Here is my code:

                var picker = new Windows.Storage.Pickers.FileOpenPicker();
                picker.ViewMode = Windows.Storage.Pickers.PickerViewMode.Thumbnail;
                picker.SuggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.DocumentsLibrary;

                var file = await picker.PickSingleFileAsync();

                    await ContentBox.LoadAsync(_file);
                    // ContentBox is name of SfRichTextBoxAdv control.
                catch (Exception)
                    // Handle exception here

Venkatesan Mani [Syncfusion]
Replied On August 21, 2017 01:36 AM

Hi Sandesh Kamble,

Thank you for using Syncfusion products.

Our SfRichTextBoxAdv control has known limitation in rendering Metafile images (EMF, WMF, etc.). But the images are preserved properly in the document on resaving. For more information regarding this kindly refer the following UG link.
UG link: https://help.syncfusion.com/uwp/sfrichtextboxadv/image
Could you please check whether the image present in the input document is EMF , WMF or any other metafile image format?

Also If possible, provide us the input rich text document or image used in your side? So that we can analyze in depth and provide you the appropriate solution at the earliest.

Venkatesan M. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.