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

Floating image after text end not rendered in DocumentLayoutMode.Flow

1 Answer 21 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Fabrizio
Top achievements
Rank 1
Fabrizio asked on 15 Nov 2016, 01:18 PM

Hi all, I write to report a problem about floating images placed beyond the end of the text elements.
You can download a test document from here:

http://download2.anastasis.it/software/fabrizio/test.xaml

It's been created using your WPF demos app (RichTextBox item), then I just copied and pasted one of the images already in the document.
The copied image has beed dragged down to the last page, beyond last text element position.

Then, I switched to DocumentLayoutMode.Flow using the button near the percentage zoom value in the footer bar. Doing so, the copied image is not in the editor view anymore.

The only ways to make it reappear are:
1. Placing the cursor after last document word then pressing the "Enter" key repeatedly.
2. Going back to Page mode.

It seems that the document measure method doesn't keep in count floating images, but only text elements.

Thanks in advance.
Fabrizio

1 Answer, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 17 Nov 2016, 09:41 AM
Hello Fabrizio,

I can confirm that the problem exists. I have logged it as a bug report into our feedback portal. Here is a link if you would like to follow the item for status updates: Floating images placed after the end of the last paragraph will disappear after switching to Flow layout mode.

I am afraid that I can't give you any exact timeframe when the problem will be fixed as it is not scheduled yet.

Regards,
Mihail
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Tags
RichTextBox
Asked by
Fabrizio
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Share this question
or