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.
Unfortunately, activation email could not send to your email. Please try again.

How to resize diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

82352 Jun 10,2009 05:40 AM Jun 11,2009 05:37 AM Windows Forms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On June 10, 2009 05:40 AM

Hello,

I have an application where the user can add nodes at runtime. The problem I have is that I want the height of the diagram to be automatically adjusted to make room for newly added nodes.

I have a variable that keeps track of the current Y position of the lowest node.

so I would want new height of the diagram to be e.g. Last-Y-Position + 100

Thanks

Mike

Gowri Manohari D [Syncfusion]
Replied On June 11, 2009 05:37 AM

Hi Michael,

Thank you for your interest in Syncfusion Essential Studio.

I have created the sample for your requirement. The sample which I have used it resizes the diagram height based on the Y-Position of the node added at last.For more details please download the sample from below link.

http://files.syncfusion.com/support/Diagram.Windows/Forums/F82352/main.htm

Regards,
Gowri

CONFIRMATION

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.

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.

;