How to serialize Span class to binary or xml ?

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

    Posted 20 Nov 2013 Link to this post

    Hi,

    I am trying to serialize Span Class Collection object to XMl, Binary and JSON format but while implementing this, StyleDefinition Class which is the property of the Span Class class and having nested structure ( same class type variable inside the class ) not allow to perform the serialization process.

    I had tried also JSON serialization which allow to skip looping structure but that also not allow to serialize Span collection object.

    so is there any way to serialize Span collection object to any serialization type so I will save this object as file on my system. ?




    Thanks & Regards
    Ajita


  2. Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 25 Nov 2013 Link to this post

    Hello Ajita,

    Yes you can export the document to XAML, Docx, RTF, PDF, HTML and Text formats using our format providers.
    More on that subject you can read in this help article: http://www.telerik.com/help/silverlight/radrichtextbox-features-import-export.html.

    If you have further questions feel free to contact us again.

    Regards,
    Mihail
    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ajita
    Ajita avatar
    8 posts
    Member since:
    Oct 2013

    Posted 26 Nov 2013 Link to this post

    HI Mihail ,

    I am not trying to export document, i am trying to serialize Span class to XML, binary or JSON format but, Span class having StyleDefinition type property and this (StyleDefinition) class is in nested structure (with same type property inside the class). Because of this region , serialization methods not allows to serialize.

    So is there any way to serialize Span class to XML, Binary or JSON format?



    Thanks

    Ajita
Back to Top