Working with Connector Type Shape

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 Java.

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:

  1. Load a sample diagram.
  2. get a particular page.
  3. get a particular connector shape.
  4. set appearance of the shape.
  5. save diagram

Set Connector Appearance Programming Sample

Use the following code in your Java application to set appearance of the connector type shape using Aspose.Diagram for Java.

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.

How to Select Reroute Options

todo:image_alt_text

The code below shows how to:
  1. Load a sample file.
  2. get a particular page.
  3. get a particular connector shape.
  4. set reroute options.
  5. save diagram.

Select Reroute Option Programming Sample

Use the following code in your Java application to select the rerouting option of the connector shape using Aspose.Diagram for Java.