
## Connect class

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

## Constructors

| Name | Description |
| --- | --- |
| [Connect](#constructor) | Constructor. |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [FromSheet](#fromsheet) | long | The ID of the shape from which a connection or connections originate. |
| [ToSheet](#tosheet) | long | The ID of the shape to which one or more connections are made |
| [FromCell](#fromcell) | String | The cell from which a connection is made. |
| [ToCell](#tocell) | String | The cell to which a connection is made. |
| [FromPart](#frompart) | int | The cell from which a connection originates. The value of the property is FromPartValue integer constant. |
| [ToPart](#topart) | int | The part of a shape to which a connection is made. The value of the property is ToPartValue integer constant. |

## Methods

| Name | Description |
| --- | --- |
| [deepClone](#deepclone) | Creates deep copy of this instance. |

### Connect() {#constructor}

Constructor.

### Connect.FromSheet property {#fromsheet}

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

**Type:** long

### Connect.ToSheet property {#tosheet}

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

**Type:** long

### Connect.FromCell property {#fromcell}

The cell from which a connection is made.

**Type:** String

### Connect.ToCell property {#tocell}

The cell to which a connection is made.

**Type:** String

### Connect.FromPart property {#frompart}

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

**Type:** int

### Connect.ToPart property {#topart}

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

**Type:** int

### deepClone() {#deepclone}

Creates deep copy of this instance.
