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