Floating image after text end not rendered in DocumentLayoutMode.Flow

2 posts, 0 answers
  1. Fabrizio
    Fabrizio avatar
    6 posts
    Member since:
    Jul 2015

    Posted 15 Nov 2016 Link to this post

    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

  2. Mihail
    Admin
    Mihail avatar
    221 posts

    Posted 17 Nov 2016 Link to this post

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