|116866||Jun 23,2014 11:14 AM||Jun 27,2014 02:07 AM||Windows Forms||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.