How to save document in my Custom format?

4 posts, 0 answers
  1. Ajita
    Ajita avatar
    8 posts
    Member since:
    Oct 2013

    Posted 25 Oct 2013 Link to this post

    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
  2. Ajita
    Ajita avatar
    8 posts
    Member since:
    Oct 2013

    Posted 29 Oct 2013 Link to this post

    Any Reply ?????
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petya
    Admin
    Petya avatar
    975 posts

    Posted 29 Oct 2013 Link to this post

    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 >>
  5. Ajita
    Ajita avatar
    8 posts
    Member since:
    Oct 2013

    Posted 31 Oct 2013 Link to this post

    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
Back to Top