RadBook Integration

2 posts, 0 answers
  1. Ramon Alejandro
    Ramon Alejandro avatar
    2 posts
    Member since:
    Dec 2013

    Posted 10 Jul 2014 Link to this post

    I found this issue on the RichTextBox integration with RadBook demo:

    When I load a .docx document it does not adjusts to the book size and shows only a portion of the text. It seems that the meassure functionality in not working. This error also causes that some pages are not showed (missing) between left and right page. I found this issue on the official demo, this is not a test project. I'm using Telerik WPF 2014.1.0331.45, I know that this is not the latest version, I just want to report this issue and maybe learn how to solve it.
  2. Petya
    Petya avatar
    973 posts

    Posted 15 Jul 2014 Link to this post

    Hello Ramon Alejandro,

    The presenter which is used to show documents when integrating RadRichTextBox with RadBook does not support auto scaling. If you want your documents to fit the available area you'd need to calculate the desired scale and apply a transform to the RadRichTextPageView.
    <telerik:RadRichTextPageView HorizontalAlignment="Center"
                                 ViewManager="{Binding Source={StaticResource viewManager}}"
                                 PageIndex="{Binding Path=PageIndex}">
            <ScaleTransform ScaleX="0.7" ScaleY="0.7" />

    I hope this helps.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. DevCraft banner
Back to Top