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

Zoom the Diagram based on the Focus Point

In diagram control, to Resize the model there are more number of options available. Those options are differentiated by the Type and constraint (enabling/disablingSizeToContent property) which are listed in below.

 

Model’s LogicalSize property

 

Using Model’s LogicalSize property we can Assign/Resize the size of the Model type as System.Drawing.SizeF. The following code illustrates to resize the Model.

 

[C#]

 

 

[VB]

 

 

Model’s DocumentSize property

 

This property is also used to Assign/Resize the size of the Model type as Syncfusion.Windows.Forms.Diagram.PageSize . The following code illustrates to resize the Model.

 

[C#]

 

 

[VB]

 

 

Model’s MinimumSize Property

 

This property is used to set the minimum size of the Model under the type of System.Drawing.SizeF. But this property is used only when the Model’s SizeToContent property is enabled. Otherwise, it is not considered by the diagram. The following code illustrates to how to set minimum size value.

 

[C#]

 

 

[VB]

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7716 05/12/2017 05/12/2017 WinForms Diagram
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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