Working with Connector Type Shape
Contents
[
Hide
]
Set Appearance of the Connector Type Shape in Visio
This topic elaborates how developers can change the appearance of dynamic connector type shape using Aspose.Diagram for .NET.
Set Connector Appearance
The SetConnectorsType method exposed by the Shape class can be used to set appearance of the connector type shape.
The code below shows how to:
- Load a sample diagram.
- get a particular page.
- get a particular connector shape.
- set appearance of the shape.
- save diagram
Set Connector Appearance Programming Sample
Use the following code in your .NET application to set appearance of the connector type shape using Aspose.Diagram for .NET.
Select Reroute Option of the Connector Shape
The ConFixedCode property exposed by the Layout class can be used to select reroute option. The Layout property, exposed by the Shape class, will be used.
The code below shows how to:
- Load a sample file.
- get a particular page.
- get a particular connector shape.
- set reroute options.
- save diagram.
Select Reroute Option Programming Sample
Use the following code in your .NET application to select the rerouting option of the connector shape using Aspose.Diagram for .NET.