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

View.Magnification. Different behaviour depend on version.

Thread ID:





116866 Jun 23,2014 03:14 PM UTC Jun 27,2014 06:07 AM UTC WinForms 3
Tags: Diagram
Blanca Calderon
Asked On June 23, 2014 03:14 PM UTC

I have a different behaviour of view.magnification when I update syncfusion dll version to I want to maintain the behaviour of version because in the new version have to magnification and after this move the scroll.
This is the code in magnification combobox. I attach a document with the behaviour in both version.

string strMagValue = this.comboBoxBarItemMagnification.TextBoxValue;

int idxPctSign = strMagValue.IndexOf('%');

if (idxPctSign >= 0)


strMagValue = strMagValue.Remove(idxPctSign, 1);


int magVal = Convert.ToInt32(strMagValue);

this.diagram1.View.Magnification = magVal;

Attachment: MagnificationDifferent_47689de4.rar

Ashok Kumar V [Syncfusion]
Replied On June 25, 2014 09:18 AM UTC

Hi Blanca,

Thanks for your interest in Syncfusion product.

We suggest you to set diagram.view.ZoomType to “TopLeft” to achieve your requirement. Please refer the below code snippet for your reference.

Here is the code snippet:


  // To set the TopLeft ZoomType

  diagram1.View.ZoomType = ZoomType.TopLeft;

  diagram1.View.Magnification = float.Parse(comboBox1.Text);

Please try the below attached sample and let me know if you have any concern.


Ashok Kumar

Attachment: 116866_f0d830fe.zip

Blanca Calderon
Replied On June 26, 2014 06:40 AM UTC

Thank you, it works great.

Ashok Kumar V [Syncfusion]
Replied On June 27, 2014 06:07 AM UTC

Hi Blanca,

Thanks for your update.

We are happy to hear that the solution worked perfectly.

Please let us know if you have any queries.

Ashok Kumar.


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