how to display byte array in terlik table paragraph?

2 posts, 0 answers
  1. Juber
    Juber avatar
    1 posts
    Member since:
    Jun 2013

    Posted 11 Oct 2013 Link to this post

    I have byte array data in which it contains text and images.
    Now i want to show that byte array into table paragraph.
    I tired it with InlineImage  by converting byte array to stream but its not working

    is there any option to show such a byte array containing of image and text together?

    Thanx in advance
  2. Petya
    Petya avatar
    989 posts

    Posted 15 Oct 2013 Link to this post


    Thank you for contacting us!

    RadRichTextBox provides several format providers that allow you to export/import the content of the control. That said if the byte array you are referring to is for example a DOCX document, you could import it using the respective format provider.

    In case this is not what you are trying to achieve and the byte array simply contains the image and the text, you should still be able to achieve the desired result though we do not provide a way to do this out of the box. As long as you can distinguish the data you could create an InlineImage from its image part and import the rest with TxtFormatProvider. The imported document can be converted to DocumentFragment and simply inserted at the document position you wish it to.

    I hope this is helpful! Let us know if you have other questions.

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