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.

Resize in objets web Essential Diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

71077 Jan 14,2008 04:22 PM Jan 17,2008 06:47 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
Oscar Fajardo
Asked On January 14, 2008 04:22 PM

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.



Vishnu Kumar [Syncfusion]
Replied On January 17, 2008 06:47 AM

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.



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.

;