zoom in, zoom out in Book

4 posts, 0 answers
  1. Kamal Mostofi
    Kamal Mostofi avatar
    56 posts
    Member since:
    Jan 2010

    Posted 31 May 2010 Link to this post

    I would like to zoom in/zoom out on pages within my book. Is it possible? if it's possible, do you have an example? Can you share it with me please?

    Many thanks in advance.
  2. Bobi
    Bobi avatar
    513 posts

    Posted 03 Jun 2010 Link to this post

    Hi Kamal Mostofi,

    Currently RadBook  does not provide such build in functionality.
    However you can add your custom logic in order to implement the desired zoom in/ zoom out behavior.
    The following article can be helpful:

    All the best,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Ridi
    Ridi avatar
    2 posts
    Member since:
    Jun 2009

    Posted 22 Nov 2011 Link to this post

    Dear Telerik,
    do you have sample about it. we need to combine the features to create sufficient reading experience..zoom in like flipbook is really needed in this component http://page-flip.com/demos/publisher/
  5. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 25 Nov 2011 Link to this post

    Hello Ridi,

     RadBook and RadRichTextPageView (which is used in the templates of RadBook) do not implement a scaling mechanism.
    However, you can use the built-in ScaleTransform and set different scaling values. This can be done like this:

    this.book.RenderTransform = new ScaleTransform()
         ScaleX = scaleFactor,
         ScaleY = scaleFactor,
         CenterX = centerX,
         CenterY = centerY
    where centerX and centerY are the values you have calculated in order to show the scaled book in the position on page you would want it to appear.

    Best wishes,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top