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.

Render Rich text content to RichTextBoxAdv Control

Thread ID:

Created:

Updated:

Platform:

Replies:

116576 Jun 11,2014 02:39 AM Jun 11,2014 09:00 AM WinRT 1
loading
Tags: SfRichTextBoxAdv
yas
Asked On June 11, 2014 02:39 AM

Hi,

    I want to render rtf text content.I used the SfRichTextBoxAdv control for rendering rtf content.I followed the documentation in which you specify the rtf files can be loaded and can be viewed in xaml.
I try like this

 StorageFolder folder = ApplicationData.Current.LocalFolder;
  StorageFile storageFile = await folder.GetFileAsync("sample.rtf");
   var randomAccessStream = await storageFile.OpenReadAsync();
   Stream stream = randomAccessStream.AsStreamForRead();
    richText.LoadAsync(stream,FormatType.Rtf);

For Loading rtf files ,I tried remaining three combinations as below

richText.Load(stream,FormatType.Rtf);
richText.LoadAsync(storageFile);
richText.Load(storageFile);

My .rtf file contains  "Write names of x & y.½"

When I load this file to richtextboxadv control ,it shows same content

but i want to display like this "Write names of x&y 1/2;"

i want final output like above


Please send me reply soon.I need this urgently


Arumuga Perumal S [Syncfusion]
Replied On June 11, 2014 09:00 AM

Hi Yas,

Thank you for using Syncfusion products.

On analysing the given input text, we found that it contains a special character ‘½’. Our SfRichTextBoxAdv control renders content as it if you view the document in MS Word. In order to display the content as you mentioned, you have to change the content in input document. For further analysis, kindly provide us your input document so that we can investigate on it and provide you with proper solution.

Please let us know if you have any other questions.

Regards,
Arumuga Perumal S.


CONFIRMATION

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.

;