Drawing Tool in Windows Forms Diagram
18 Nov 20181 minute to read
WinForms 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.
// Activates the Org line connector tool.
diagram1.Controller.ActivateTool("OrgLineConnectorTool");'Activates the Org line connector tool.
diagram1.Controller.ActivateTool("OrgLineConnectorTool")
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
NOTE
Looking for the full WinForms Diagram component overview, features, pricing, and documentation? Visit the WinForms Diagram page.