Connect

Connect class

Represents a connection between two shapes in a drawing, such as a line and a box in an organization chart.

Constructors

NameDescription
ConnectConstructor.

Properties

NameTypeDescription
FromSheetlongThe ID of the shape from which a connection or connections originate.
ToSheetlongThe ID of the shape to which one or more connections are made
FromCellStringThe cell from which a connection is made.
ToCellStringThe cell to which a connection is made.
FromPartintThe cell from which a connection originates. The value of the property is FromPartValue integer constant.
ToPartintThe part of a shape to which a connection is made. The value of the property is ToPartValue integer constant.

Methods

NameDescription
deepCloneCreates deep copy of this instance.

Connect()

Constructor.

Connect.FromSheet property

The ID of the shape from which a connection or connections originate.

Type: long

Connect.ToSheet property

The ID of the shape to which one or more connections are made

Type: long

Connect.FromCell property

The cell from which a connection is made.

Type: String

Connect.ToCell property

The cell to which a connection is made.

Type: String

Connect.FromPart property

The cell from which a connection originates. The value of the property is FromPartValue integer constant.

Type: int

Connect.ToPart property

The part of a shape to which a connection is made. The value of the property is ToPartValue integer constant.

Type: int

deepClone()

Creates deep copy of this instance.