I noticed that with zooming, this control always zoom to the center of the image. Is it possible to zoom to the center of both fingers. For me that is a more natural result and doesn't require any corrections to find the right spot
Arnoud
4 Answers, 1 is accepted
What version of our library are you using? We have fixed this behavior and if you use the latest binaries you should observe the correct behavior (e.g. the zoom will be in the center of the gesture).
Please let us know how it goes after you download the latest binaries.
Valentin.Stoychev
the Telerik team
I suggest you could try something as below
PanAndZoomImage obj_Zoom =
new
PanAndZoomImage();
obj_Zoom.Source =
new
BitmapImage(
new
Uri(
"d0014511d1392b833cacffc6efe95ce6_XL.jpg"
, UriKind.Relative));
obj_Zoom.ZoomMode = ImageZoomMode.Free;
obj_Zoom.Pan =
new
Point(300, 200);
obj_Zoom.MaximumZoom =
new
Point(5, 5);
ContentPanel.Children.Add(obj_Zoom);
Thanks,
Vijay
I'm using Q1 2013 and I still have that issue. Please note that it is about WP7 control only, WP8 is fine.
It is quite urgent for me, so I would be grateful for help.
Thanks.
Thanks for the feedback. PanAndZoom image has been updated for WP7 however, please keep in mind that there is a breaking change. The Zoom and MaximumZoom properties are of type double now, not Size. You will have to update your XAML that sets these properties otherwise you will get a XamlParseException during run-time. Since the zoom is now a double value, non-uniform scaling of images is no longer supported.
The changes will be included in the latest internal build which will be released today.
Victor
the Telerik team