The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I would like to know if it is possible to create draggable objects with action specific data in them, like a combo box or a text field to let the user choose from a predefined list of actions for the box in a flowchart?
And I would also have to save the sequence of the flowchart a user creates to a database. I did not find any examples related to that in the samples, so can someone help me in implementing this functionality?
ADAdministrator Syncfusion Team April 20, 2008 05:24 PM UTC
Hi Aravindan,
Thank you for using Syncfusion prducts.
If you want to display the Textfield in a diagram object, then you can use its label collection to add label. The following code snippet illustrates this.
[C#]
Syncfusion.Windows.Forms.Diagram.Rectangle rec=new Syncfusion.Windows.Forms.Diagram.Rectangle(40,40,40,40); Syncfusion.Windows.Forms.Diagram.Label l= new Syncfusion.Windows.Forms.Diagram.Label(); l.Text="Rectangle"; //Add label to the rectangle rec.Labels.Add(l); this.diagram1.Model.AppendChild(rec);
If you want to save the entire diagram into a database , then you can achieve this by saving the diagram (edd format) using the diagram.SaveSoap/SaveBinary and diagram.LoadSoap/LoadBinary methods and finally save that edd file in bytes into the database.
Please provide me more information if I misunderstood your requirement.