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

zoom in, zoom out in Book

3 Answers 102 Views
Book
This is a migrated thread and some comments may be shown as answers.
Kamal Mostofi
Top achievements
Rank 1
Kamal Mostofi asked on 31 May 2010, 10:32 PM
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

3 Answers, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 03 Jun 2010, 10:51 AM
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.
0
Ridi
Top achievements
Rank 2
answered on 22 Nov 2011, 11:50 PM
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
0
Petar Mladenov
Telerik team
answered on 25 Nov 2011, 11:37 AM
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 >>

Tags
Book
Asked by
Kamal Mostofi
Top achievements
Rank 1
Answers by
Bobi
Telerik team
Ridi
Top achievements
Rank 2
Petar Mladenov
Telerik team
Share this question
or