This is a migrated thread and some comments may be shown as answers.

Preview richtext????

1 Answer 59 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
ninh
Top achievements
Rank 1
ninh asked on 11 Mar 2011, 04:39 AM
How i can preview richtext? Thank

1 Answer, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 16 Mar 2011, 04:28 PM
Hello Ninh,

If I understand you right, you  want to load files in Rich Text Format (RTF) in RadRichTextBox. This is possible for the first time with the latest version of our suite - Q1 2011, which should be available for download in your account any time now.
The sample code is as follows:

this.radRichTextBox.Document = new RtfFormatProvider().Import("{\rtf{test}}");

RadRichTextBox supports different file formats (including Docx, HTML, RTF), and there are help articles that can help you to start using them - about our format providers and data providers.

Don't hesitate to contact us if I misunderstand you or if you have other questions.

Greetings,
Boby
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
RichTextBox
Asked by
ninh
Top achievements
Rank 1
Answers by
Boby
Telerik team
Share this question
or