|116866||Jun 23,2014 03:14 PM UTC||Jun 27,2014 06:07 AM UTC||WinForms||3|
strMagValue = strMagValue.Remove(idxPctSign, 1);
}int magVal = Convert.ToInt32(strMagValue); this.diagram1.View.Magnification = magVal;
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.
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.
This page will automatically be redirected to the sign-in page in 10 seconds.