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

Floater

1 Answer 131 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Bernard JOURDAIN
Top achievements
Rank 1
Bernard JOURDAIN asked on 25 Feb 2011, 01:25 AM
Hy,
How to simulate a wrapping text around an image?



With FlowDocument, we can use Figures or Floaters. Do you have any idea to do this kind of feature? It would be a very nice amelioration.
Thx.

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 28 Feb 2011, 06:38 PM
Hello Bernard JOURDAIN,

As floating images are not supported yet, there is only one option and it will only work out if the rich text box is read only and you are not changing the layout mode, margins, etc. of the document. That would be to create a table with 2 or 3 columns (depending on the position of the image - on one of the sides or in the middle of the text) and put the image in a separate cell, while the text is in the adjacent cells. You would have to find experimentally how much text should fit into the cell on the right and when you should continue with the cell bellow.
We have floating images on our to-do list, but I cannot provide you with a specific timeline of when they are going to be implemented. We agree that it would be a nice amelioration, but we have some other nice features scheduled for Q1 2011, which are of higher priority. I am creating a PITS issue, which you can use to track our progress on this one: PITS issue URL.

Regards,
Iva
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
Bernard JOURDAIN
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or