Hi telerik team, We would like to zoom in/zoom out on book pages (last version). Is it that possible?
If there is a way, do you have any example or idea to do this?
Thanks in advance,
Luis Castro M.
1 Answer, 1 is accepted
0
Tina Stancheva
Telerik team
answered on 06 Dec 2013, 12:38 PM
Hello Luis,
Essentially the RadBook control is an ItemsControl and you can wrap pretty much anything in its RadBookItems. Therefore we can't implement a common out-of-the-box zoom functionality for the pages. However, you can try to use a ScaleTransform to create a custom zoom-in functionality like so:
this.book.RenderTransform = newScaleTransform()
{
ScaleX = scaleFactor,
ScaleY = scaleFactor,
CenterX = centerX,
CenterY = centerY
};
where the centerX and centerY have to be calculated based on your case an scenario to determine the positioning of the scaled book.
I hope that helps.
Regards,
Tina Stancheva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>