Hi All,
i did the Zoom X with this code:
private void ZoomExtentsX_Checked(object sender, RoutedEventArgs e)
{
if (rubberBandZoomModifier != null)
{
var checkBox = (CheckBox)sender;
rubberBandZoomModifier.IsXAxisOnly = checkBox.IsChecked == true;
}
}
also i make the code for Zoomping in Y Axis by this code :
private void ZoomExtentsY_Checked(object sender, RoutedEventArgs e)
{
if (rubberBandZoomModifier != null)
{
var checkBox = (CheckBox)sender;
rubberBandZoomModifier.ZoomExtentsY = checkBox.IsChecked == true;
}
}
the zoomX run good but for the Y Axis it’s not ok because the code zoom x and y in the same time (like picture) !! anybody have idea ? Thank you !
- sahar Les asked 9 years ago
- You must login to post comments
Hi there,
Unfortunately, we don’t provide the IsYAxisOnly zooming behavior out of the box, but it is pretty easy to implement. In this thread you can find the code by our customer who has implemented it.
Hope this helps!
Best regards,
Yuriy
- Guest answered 9 years ago
- You must login to post comments
Please login first to submit.