Skip to content

SymbolItem

app.activeDocument.symbolItems[index]

An art item made reusable by adding it to the Symbols palette.

A SymbolItem is linked to the Symbol from which it was created and changes if you modify the associated Symbol object.


app.activeDocument.symbolItems[index].artworkKnockout

Is this object used to create a knockout, and if so, what kind of knockout.

KnockoutState


app.activeDocument.symbolItems[index].blendingMode

The blend mode used when compositing an object.

BlendModes


app.activeDocument.symbolItems[index].controlBounds

The bounds of the object including stroke width and controls.

Array of 4 Numbers; read-only.


app.activeDocument.symbolItems[index].editable

If true, this item is editable.

Boolean; read-only.


app.activeDocument.symbolItems[index].geometricBounds

The bounds of the object excluding stroke width.

Array of 4 Numbers; read-only.


app.activeDocument.symbolItems[index].height

The height of the group item.

Number (double)


app.activeDocument.symbolItems[index].hidden

If true, this item is hidden.

Boolean


app.activeDocument.symbolItems[index].isIsolated

If true, this object is isolated.

Boolean


app.activeDocument.symbolItems[index].layer

The layer to which this item belongs.

Layer; read-only.


app.activeDocument.symbolItems[index].left

The position of the left side of the item (in points, measured from the left side of the page).

Number (double)


app.activeDocument.symbolItems[index].locked

If true, this item is locked.

Boolean


app.activeDocument.symbolItems[index].name

The name of this item.

String


app.activeDocument.symbolItems[index].note

The note assigned to this item.

String


app.activeDocument.symbolItems[index].opacity

The opacity of the object.

Range: 0.0 to 100.0

Number (double)


app.activeDocument.symbolItems[index].parent

The parent of this object.

Layer or GroupItem; read-only.


app.activeDocument.symbolItems[index].position

The position (in points) of the top left corner of the symbolItem object in the format [x, y]. Does not include stroke weight.

Array of 2 Numbers


app.activeDocument.symbolItems[index].selected

If true, this item is selected.

Boolean


app.activeDocument.symbolItems[index].sliced

If true, the item sliced.

Default: false

Boolean


app.activeDocument.symbolItems[index].symbol

The symbol that was used to create this symbolItem.

Symbol


app.activeDocument.symbolItems[index].tags

The tags contained in this item.

Tags; read-only.


app.activeDocument.symbolItems[index].top

The position of the top of the item (in points, measured from the bottom of the page).

Number (double)


app.activeDocument.symbolItems[index].typename

The class name of the referenced object.

String; read-only.


app.activeDocument.symbolItems[index].uRL

The value of the Adobe URL tag assigned to this item.

String


app.activeDocument.symbolItems[index].visibilityVariable

The visibility variable bound to the item.

Variable


app.activeDocument.symbolItems[index].visibleBounds

The visible bounds of the item including stroke width.

Array of 4 Numbers; read-only.


app.activeDocument.symbolItems[index].width

The width of the item.

Number (double)


app.activeDocument.symbolItems[index].wrapInside

If true, the text frame object should be wrapped inside this object.

Boolean


app.activeDocument.symbolItems[index].wrapOffset

The offset to use when wrapping text around this object.

Number (double)


app.activeDocument.symbolItems[index].wrapped

If true, wrap text frame objects around this object (text frame must be above the object).

Boolean


app.activeDocument.symbolItems[index].zOrderPosition

The position of this item within the stacking order of the group or layer (parent) that contains the item.

Number; read-only.


app.activeDocument.symbolItems[index].duplicate([relativeObject][, insertionLocation])

Creates a duplicate of the selected object.

ParameterTypeDescription
relativeObjectObject, optionalObject to duplicate to
insertionLocationElementPlacement, optionalLocation to insert element

SymbolItem


app.activeDocument.symbolItems[index].move(relativeObject, insertionLocation)

Moves the object.

ParameterTypeDescription
relativeObjectObjectObject to move element within
insertionLocationElementPlacement, optionalLocation to move element to

SymbolItem


app.activeDocument.symbolItems[index].remove()

Deletes this object.

Nothing.


app.activeDocument.symbolItems[index].resize(
scaleX,
scaleY
[,changePositions]
[,changeFillPatterns]
[,changeFillGradients]
[,changeStrokePattern]
[,changeLineWidths]
[,scaleAbout]
)

Scales the art item where scaleX is the horizontal scaling factor and scaleY is the vertical scaling factor. 100.0 = 100%.

ParameterTypeDescription
scaleXNumber (double)Horizontal scaling factor
scaleYNumber (double)Vertical scaling factor
changePositionsBoolean, optionalWhether to effect art object positions and orientations
changeFillPatternsBoolean, optionalWhether to transform fill patterns
changeFillGradientsBoolean, optionalWhether to transform fill gradients
changeStrokePatternBoolean, optionalWhether to transform stroke patterns
changeLineWidthsNumber (double), optionalThe amount to scale line widths
scaleAboutTransformation, optionalThe point to use as anchor, to transform about

Nothing.


app.activeDocument.symbolItems[index].rotate(
angle
[,changePositions]
[,changeFillPatterns]
[,changeFillGradients]
[,changeStrokePattern]
[,rotateAbout]
)

Rotates the art item relative to the current rotation.

The object is rotated counter-clockwise if the angle value is positive, clockwise if the value is negative.

ParameterTypeDescription
angleNumber (double)The angle amount to rotate the element
changePositionsBoolean, optionalWhether to effect art object positions and orientations
changeFillPatternsBoolean, optionalWhether to transform fill patterns
changeFillGradientsBoolean, optionalWhether to transform fill gradients
changeStrokePatternBoolean, optionalWhether to transform stroke patterns
rotateAboutTransformation, optionalThe point to use as anchor, to transform about

Nothing.


app.activeDocument.symbolItems[index].transform(
transformationMatrix
[, changePositions]
[, changeFillPatterns]
[, changeFillGradients]
[, changeStrokePattern]
[, changeLineWidths]
[, transformAbout]
)

Transforms the art item by applying a transformation matrix.

ParameterTypeDescription
transformationMatrixMatrixTransformation matrix to apply
changePositionsBoolean, optionalWhether to change Positions
changeFillPatternsBoolean, optionalWhether to change Fill Patterns
changeFillGradientsBoolean, optionalWhether to change Fill Gradients
changeStrokePatternBoolean, optionalWhether to change Stroke Pattern
changeLineWidthsNumber (double), optionalThe amount to scale line widths
transformAboutTransformation, optionalThe point to use as anchor, to transform about

Nothing.


app.activeDocument.symbolItems[index].translate(
[deltaX]
[, deltaY]
[, transformObjects]
[, transformFillPatterns]
[, transformFillGradients]
[, transformStrokePatterns]
)

Repositions the art item relative to the current position, where deltaX is the horizontal offset and deltaY is the vertical offset.

ParameterTypeDescription
deltaXNumber (double), optionalHorizontal offset
deltaYNumber (double), optionalVertical offset
transformObjectsBoolean, optionalWhether to transform Objects
transformFillPatternsBoolean, optionalWhether to transform Fill Patterns
transformFillGradientsBoolean, optionalWhether to transform Fill Gradients
transformStrokePatternsBoolean, optionalWhether to transform Stroke Patterns

Nothing.


app.activeDocument.symbolItems[index].zOrder(zOrderCmd)

Arranges the art item’s position in the stacking order of the group or layer (parent) of this object.

ParameterTypeDescription
zOrderCmdZOrderMethodStacking order arrangement method

Nothing.