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

NameDescription
ScratchConstructor.

Properties

NameTypeDescription
IXintThe zero-based index of the element within its parent element.
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
AValueA general-purpose element.
BValueA general-purpose scratch element.
CValueA general-purpose element.
DValueA general-purpose element.
XDoubleValueSpecifies an x-coordinate on a shape in local coordinates. The following table describes the X element based on the elem
YDoubleValueSpecifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the sh

Methods

NameDescription
deepCloneCreates 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.