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

Available Options to Resizing the Model

Platform: WinForms |
Control: Diagram |
Published Date: May 12, 2017 |
Last Revised Date: May 12, 2017

In diagram control, to Resize the model there are more number of options available. Those options are differentiated by the Type and constraint (enabling/disabling SizeToContent 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]

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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