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;
picker.FileTypeFilter.Add(".docx");
picker.FileTypeFilter.Add(".doc");
picker.FileTypeFilter.Add(".rtf");
picker.FileTypeFilter.Add(".htm");
picker.FileTypeFilter.Add(".html");
picker.FileTypeFilter.Add(".txt");
var file = await picker.PickSingleFileAsync();
try
{
await ContentBox.LoadAsync(_file);
// ContentBox is name of SfRichTextBoxAdv control.
}
catch (Exception)
{
// Handle exception here
}