Contents[ Hide ]
This section explains how to connect two shapes using Aspose.Diagram for .NET.
The code below shows how to:
- Create a diagram from stencil.
- Add two rectangles shape to page.
- Add a connector shape to page.
- Connect the two rectangles with the connector using ConnectShapesViaConnector mothod
- save diagram
Connect Shapes Programming Sample
Use the following code in your .NET application to connect shapes using Aspose.Diagram for .NET.