Scratch
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. |
Properties
| Name | Type | Description |
|---|---|---|
| IX | int | The zero-based index of the element within its parent element. |
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| A | Value | A general-purpose element. |
| B | Value | A general-purpose scratch element. |
| C | Value | A general-purpose element. |
| D | Value | A general-purpose element. |
| X | DoubleValue | Specifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the elem |
| 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 | Creates deep copy of this instance. |
Scratch()
Constructor.
Scratch.IX property
The zero-based index of the element within its parent element.
Type: int
Scratch.Del property
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 general-purpose element.
Type: Value
Scratch.B property
A general-purpose scratch element.
Type: Value
Scratch.C property
A general-purpose element.
Type: Value
Scratch.D property
A general-purpose element.
Type: Value
Scratch.X property
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
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()
Creates deep copy of this instance.