Resize in objets web Essential Diagram

Hello

I would like to know how I can make that in the images of the Essential Diagram can change them the size with the Mouse, like they are made in other programs, locating me in the border of the figure and to stretch it to change him the size.
I would like to know like I make to add text to the figures that I place in the project.

Both questions are directed to a project that we are carrying out for web.



1 Reply

VK Vishnu Kumar Syncfusion Team January 17, 2008 11:47 AM UTC

Hi oscar,

Thank you for your patience.

Issue 1: Resize the node in web diagram

Normally the EditStyle.AllowResize property is set to true is used to resize the node. But the AllowResize property is not working properly. So the issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis. To facilitate tracking the progress of the fix, and timely resolution, we request you to create an incident with subject " Resize the node in web diagram - 71077" in our incident database Direct Trac.

Please let me know if you have any concerns.

Issue 2 : I make to add text to the figures
Yes. You can add the text to the figures using labels. The following code snippet is used to achieve this behavior:

Syncfusion.Windows.Forms.Diagram.Rectangle rectangle = new Syncfusion.Windows.Forms.Diagram.Rectangle(150, 150, 100, 50);

Syncfusion.Windows.Forms.Diagram.Label reclbl = new Syncfusion.Windows.Forms.Diagram.Label();
reclbl.Text = "Rectangle";
reclbl.FontStyle.Size = 13;
reclbl.FontStyle.Bold = true;
// Add label to Shape
rectangle.Labels.Add(reclbl);
return rectangle;


Please refer the sample in the below link which illustrates the above:
http://websamples.syncfusion.com//samples/Diagram.Web/6.1.0.34/71077/main.htm

Please try running the above sample and let me know if this helps.

Regards,
Vishnu.



Loader.
Up arrow icon