Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Book > zoom in, zoom out in Book

Not answered zoom in, zoom out in Book

Feed from this thread
  • Kamal Mostofi avatar

    Posted on May 31, 2010 (permalink)

    Hi,
    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.
    Kamal

    Reply

  • Bobi Bobi admin's avatar

    Posted on Jun 3, 2010 (permalink)

    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:
    http://msdn.microsoft.com/en-us/library/cc645050%28VS.95%29.aspx

    All the best,
    Bobi
    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.

    Reply

  • Ridi avatar

    Posted on Nov 22, 2011 (permalink)

    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/
    Thanks

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Nov 25, 2011 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Book > zoom in, zoom out in Book