How to resize diagram

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

1 Reply

GM Gowri Manohari D Syncfusion Team June 11, 2009 09:37 AM UTC

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

Loader.
Up arrow icon