OfficeIMO

API Reference

Class

VisioConnector

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio

Connects two shapes together.

Inheritance

  • Object
  • VisioConnector

Constructors

VisioConnector 2 overloads
public VisioConnector(VisioShape from, VisioShape to) #

Initializes a new instance of the VisioConnector class connecting two shapes.

Parameters

from OfficeIMO.Visio.VisioShape requiredposition: 0
Shape from which the connector starts.
to OfficeIMO.Visio.VisioShape requiredposition: 1
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 requiredposition: 0
Identifier of the connector.
from OfficeIMO.Visio.VisioShape requiredposition: 1
Shape from which the connector starts.
to OfficeIMO.Visio.VisioShape requiredposition: 2
Shape at which the connector ends.

Properties

public String Id { get; } #

Identifier of the connector.

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.