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.

  1. LineConnector
  2. OrthogonalConnector
  3. OrgLineConnector
  4. PolylineConnector
  5. Spline
  6. 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")

Drawing of Orthogonal Connector

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.