|114170||Nov 1,2013 07:41 AM UTC||Nov 6,2013 11:16 AM UTC||WinForms||1|
Hi Muneeb Ahmed,
Thanks for your interest in Syncfusion product,
We suggest you to set diagram.Model’s “SizeToContent” to true and diagram.Model’s “BoundaryConstraintsEnabled” to false in order to achieve your requirement. Please refer the below code snippet for your reference:
private void Form1_Load(object sender, EventArgs e)
this.diagram1.Model.BoundaryConstraintsEnabled = false;
//Model will be resized to its content
this.diagram1.Model.SizeToContent = true;
Please try the below attached sample and let us know if you have any queries.
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.