
## Scratch class

Contains a work area for entering and testing formulas that are referred to by other elements. This element is typically used to isolate repeated complex calculations.

## Constructors

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

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [IX](#ix) | int | The zero-based index of the element within its parent element. |
| [Del](#del) | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [A](#a) | Value | A general-purpose element. |
| [B](#b) | Value | A general-purpose scratch element. |
| [C](#c) | Value | A general-purpose element. |
| [D](#d) | Value | A general-purpose element. |
| [X](#x) | DoubleValue | Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the elem |
| [Y](#y) | DoubleValue | Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the sh |

## Methods

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

### Scratch() {#constructor}

Constructor.

### Scratch.IX property {#ix}

The zero-based index of the element within its parent element.

**Type:** int

### Scratch.Del property {#del}

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

**Type:** int

### Scratch.A property {#a}

A general-purpose element.

**Type:** Value

### Scratch.B property {#b}

A general-purpose scratch element.

**Type:** Value

### Scratch.C property {#c}

A general-purpose element.

**Type:** Value

### Scratch.D property {#d}

A general-purpose element.

**Type:** Value

### Scratch.X property {#x}

Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the element that contains it.

**Type:** DoubleValue

### Scratch.Y property {#y}

Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.

**Type:** DoubleValue

### deepClone() {#deepclone}

Creates deep copy of this instance.
