1.3 KiB
1.3 KiB
layout | title | description | platform | control | documentation |
---|---|---|---|---|---|
post | Drawing Tool in Windows Forms Diagram control | Syncfusion | Learn about Drawing Tool support in Syncfusion Windows Forms Diagram control, its elements, and more details. | windowsforms | Diagram | ug |
Drawing Tool in Windows Forms Diagram
Diagram control now provides a drawing tool to draw different types of connectors dynamically and connector types are listed below.
- LineConnector
- OrthogonalConnector
- OrgLineConnector
- PolylineConnector
- Spline
- BezierCurve
For Example, The OrgLineConnectorTool is used to draw the Org line connector dynamically.
{% tabs %} {% highlight c# %}
// Activates the Org line connector tool. diagram1.Controller.ActivateTool("OrgLineConnectorTool");
{% endhighlight %} {% highlight vb %}
'Activates the Org line connector tool. diagram1.Controller.ActivateTool("OrgLineConnectorTool")
{% endhighlight %} {% endtabs %}
Please refer to the Connectors sample from Windows Forms control Panel and find navigation path for the Connector sample as link.
Sample : Windows Forms Control Panel -> Diagram -> Getting Started -> Connectors