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.

# Diagram Chart (SymbolRectangle Node Problem)

#### Replies:

80338 Mar 31,2009 07:20 AM UTC Apr 1,2009 04:20 AM UTC WinForms 1
 Subscribe to this post Tags: Tools
Nikhil Nirmal
Asked On March 31, 2009 07:20 AM UTC

hi,
we are using the Syncfusion(6.4.0.15) Diagram Control.

We are create the Node dynamically. And required to give the text into the Node
So we are use the following code:

// Create the array of the node
Syncfusion.Windows.Forms.Diagram.LabelCollection LableColl = new Syncfusion.Windows.Forms.Diagram.LabelCollection();

// Create the node
SymbolRectangle symbolRectangle = nd as SymbolRectangle;

// Create the 3 labels

// Add this three labels to Symbol

// After that assign the text to Label
// Now fixed the position of labels to Node

// we want add label[0] into Node
// label[1] at the Top of Node
// label[2] at the bottum of node

// Code for label[1] at the Top of Node
LableColl[1].Position = Position.Custom;
LableColl[1].OffsetX = (symbolRectangle.Size.Width / 2);
LableColl[1].OffsetY = (symbolRectangle.Size.Height + 15);

// Code for label[2] at the bottum of Node
LableColl[2].Position = Position.Custom;
LableColl[2].OffsetX = (symbolRectangle.Size.Width / 2);
LableColl[2].OffsetY = (symbolRectangle.Size.Height - 60);

Problem :-

1) Bottom Name should always come at bottom when we increase the height of Node at run time.
(Required the Event of Node_ Size Change)
2) When the middle text length is greater than node width then this label should be multiline.

More details See Attachment.

Node_Issues_c5eec2a1.zip

Replied On April 1, 2009 04:20 AM UTC

Hi Nikhil,

Thank you for your interest in Essential Studio. We notice that you have your own Direct Trac customer account. We would therefore urge you to follow-up this technical support issue via Direct Trac. Forum is usually a good venue for developers to exchange information of general interest. For the kind of custom support you are requesting, Direct Trac would be the best choice. You will not only have a guaranteed response time and e-mail alerts when the incident is updated, but you will also be able to control follow-up by having contact with a dedicated engineer assigned to this issue.

If you have any questions about Direct Trac or its usage, your Syncfusion Account Manager Chris Vester (email: chrisv@syncfusion.com) will be very happy to be of immediate assistance.

Regards,
Dinesh

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.