API Reference
VisioConnector
Connects two shapes together.
Inheritance
- Object
- VisioConnector
Constructors
public VisioConnector(VisioShape from, VisioShape to) #Initializes a new instance of the VisioConnector class connecting two shapes.
Parameters
- from OfficeIMO.Visio.VisioShape
- Shape from which the connector starts.
- to OfficeIMO.Visio.VisioShape
- Shape at which the connector ends.
public VisioConnector(String id, VisioShape from, VisioShape to) #Initializes a new instance of the VisioConnector class with an explicit identifier.
Parameters
- id System.String
- Identifier of the connector.
- from OfficeIMO.Visio.VisioShape
- Shape from which the connector starts.
- to OfficeIMO.Visio.VisioShape
- Shape at which the connector ends.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public VisioShape From { get; } #Shape from which the connector starts.
public VisioShape To { get; } #Shape at which the connector ends.
public VisioConnectionPoint FromConnectionPoint { get; set; } #Connection point on the starting shape.
public VisioConnectionPoint ToConnectionPoint { get; set; } #Connection point on the ending shape.
public ConnectorKind Kind { get; set; } #Gets or sets the kind of connector.
public Nullable<EndArrow> BeginArrow { get; set; } #Gets or sets the arrow style at the beginning of the connector.
public Nullable<EndArrow> EndArrow { get; set; } #Gets or sets the arrow style at the end of the connector.
public String Label { get; set; } #Optional label displayed alongside the connector.
public Color LineColor { get; set; } #Line color of the connector.
public Double LineWeight { get; set; } #Line weight (thickness) of the connector.
public Int32 LinePattern { get; set; } #Line pattern (0=None, 1=Solid, 2=Dashed, etc.).
PreservedGeometrySections #Geometry sections captured from a loaded package so custom connector paths can be preserved on save.