We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Winforms Diagram - Detect Magnification/Zoom change

Thread ID:





100431 Aug 5,2011 11:17 PM UTC Aug 11,2011 03:53 AM UTC WinForms 4
Tags: Diagram
Howard Birkett
Asked On August 5, 2011 11:17 PM UTC

How do I detect a change in the magnification of a diagram view, possibly caused by the overview control. I can't find an event to hook (but I could be blind)


Amsath Ali M [Syncfusion]
Replied On August 8, 2011 05:54 AM UTC

Hi Howard,

Thanks for your interest in Syncfusion products.

We suggest you to use the Diagram.Eventsink’s “MagnificationChanged” event to achieve your requirement.

Here is the Code snippet:
this.diagram1.EventSink.MagnificationChanged += new ViewMagnificationEventHandler(EventSink_MagnificationChanged);

void EventSink_MagnificationChanged(ViewMagnificationEventArgs evtArgs)
MessageBox.Show("New Magnification value: " + evtArgs.NewMagnification +" "+" Old Magnification Value:"+evtArgs.OriginalMagnification);

For more information, please visit the below online documentation UG link:

For your convenience, we have modified the sample to achieve your reuirement.
Please try the below sample and let us know if you have any queries.
Forum Magnification Changed-1260415414.zip

Amsath Ali. M

Howard Birkett
Replied On August 8, 2011 03:29 PM UTC

Thanks Amsath - Told you it was blind!

Howard Birkett
Replied On August 8, 2011 03:29 PM UTC

Thanks Amsath - Told you it was blind!

Amsath Ali M [Syncfusion]
Replied On August 11, 2011 03:53 AM UTC

Hi Howard,

Thanks for the update.

We are happy to hear that the issue has been resolved.

Please let us know if you need any further assistance.

Amsath Ali. M


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon