Connect

Connect class

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

new Connect()

Constructor.

Methods

NameDescription
deepClone()Creates deep copy of this instance.
getFromCell()The cell from which a connection is made.
getFromPart()The cell from which a connection originates. The value of the property is FromPartValue integer constant.
getFromSheet()The ID of the shape from which a connection or connections originate.
getToCell()The cell to which a connection is made.
getToPart()The part of a shape to which a connection is made. The value of the property is ToPartValue integer constant.
getToSheet()The ID of the shape to which one or more connections are made
setFromCell()The cell from which a connection is made.
setFromPart()The cell from which a connection originates. The value of the property is FromPartValue integer constant.
setFromSheet()The ID of the shape from which a connection or connections originate.
setToCell()The cell to which a connection is made.
setToPart()The part of a shape to which a connection is made. The value of the property is ToPartValue integer constant.
setToSheet()The ID of the shape to which one or more connections are made

deepClone()

Creates deep copy of this instance.

Returns: Object — Object

getFromCell()

The cell from which a connection is made.

getFromPart()

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

getFromSheet()

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

getToCell()

The cell to which a connection is made.

getToPart()

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

getToSheet()

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

setFromCell()

The cell from which a connection is made.

setFromPart()

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

setFromSheet()

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

setToCell()

The cell to which a connection is made.

setToPart()

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

setToSheet()

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