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

How to save document in my Custom format?

3 Answers 36 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Ajita
Top achievements
Rank 1
Ajita asked on 25 Oct 2013, 11:38 AM
Hi,

I wants to save the document in my custom format. 

How to save it and how to write this code.

If you provide any demo it will very helpfull to me.

Thanks
Ajita

3 Answers, 1 is accepted

Sort by
0
Ajita
Top achievements
Rank 1
answered on 29 Oct 2013, 06:29 AM
Any Reply ?????
0
Petya
Telerik team
answered on 29 Oct 2013, 03:20 PM
Hi Ajita,

RadRichTextBox provides several export formats out of the box - XAML, DOCX, HTML, RTF, PDF and Plain text. The functionality utilizes by the respective for each format format provider. In order to export to a custom format you would need to create a custom format provider as well. For this purpose you'd have to implement the IDocumentFormatProvider interface. Please note that creating a custom format provider is not a trivial task.

I hope this helps!

Regards,
Petya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Ajita
Top achievements
Rank 1
answered on 31 Oct 2013, 11:29 AM
Thanks Petya 

But I get confused while implementing this, I want When your press Ctrl+S from his keyboard or select save option from ribbon bar on that event I want to execute my code, so how to write this in XAML or how to write my custome SaveCommand in Ribbon bar

help me to implement this or if you have any reference kink for implemented code then give it to me.

Thanks
Ajita
Tags
RichTextBox
Asked by
Ajita
Top achievements
Rank 1
Answers by
Ajita
Top achievements
Rank 1
Petya
Telerik team
Share this question
or