Add Connection Point To Shape

Add Connection Point To a Shape in Visio

This topic elaborates how developers can add connection point to a visio shape using Aspose.Diagram for .NET.

Add Connection Point

The Connections object represents the connection collection in the Shape class.

The code below shows how to:

  1. Load a sample diagram.
  2. get a particular page.
  3. get a particular shape.
  4. new a connection
  5. set the property of connection
  6. add connection to shape
  7. save diagram

Add connection point to shape Programming Sample

Use the following code in your .NET application to add connection to a shape using Aspose.Diagram for .NET.