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 create Flow Chart control by code in Diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

69959 Nov 20,2007 06:23 AM Nov 23,2007 06:05 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
sattar shaikh
Asked On November 20, 2007 06:23 AM

Hi,

by creating serialize class we can create Rectangle,Ellipse and RoundRect which i am getting in follwong way....


private Syncfusion.Windows.Forms.Diagram.Rectangle outerRect = null;


private Syncfusion.Windows.Forms.Diagram.Ellipse innerEllipse = null;



private Syncfusion.Windows.Forms.Diagram.RoundRect RRect = null;

just my question is how we can create Flow Chart Controls(Decision,Circle, etc..) using same way by code.I am not getting class for that.please reply me.


Thanks and Regards,
Sattar Shaikh




Melba Winshia [Syncfusion]
Replied On November 23, 2007 06:05 AM

Hi Sattar,

Thank you for your interest in Syncfusion Products.

How we can create Flow Chart Controls(Decision,Circle, etc..)

You can create a decision box by rotating a rectangle to 45 degree and circle by using ellipse.

//Decision Box

Syncfusion.Windows.Forms.Diagram.Rectangle decision = new Syncfusion.Windows.Forms.Diagram.Rectangle(100, 200, 60, 60);

//Rotate to make as decision box
decision.RotationAngle = 45;
decision.Visible = true;

//specify the height and width as same to get circle

Syncfusion.Windows.Forms.Diagram.Ellipse ellipse = new Ellipse(40, 50, 60, 60);
ellipse .FillStyle.Color = Color.Black;

Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Diagram.Web/5.2.0.25/69959/main.htm

Please try this and let me know if this helps.

Thanks,
Melba



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.

;