Symbol
Symbol
Section titled “Symbol”app.activeDocument.symbols[index]
Description
Section titled “Description”An art item that is stored in the Symbols palette, and can be reused one or more times in the document without duplicating the art data. Symbols are contained in documents.
Instances of Symbol
in a document are associated with SymbolItem objects, which store the art object properties.
Properties
Section titled “Properties”Symbol.name
Section titled “Symbol.name”app.activeDocument.symbols[index].name
Description
Section titled “Description”The symbol’s name
String.
Symbol.parent
Section titled “Symbol.parent”app.activeDocument.symbols[index].parent
Description
Section titled “Description”The object that contains the symbol object.
Object; read-only.
Symbol.typename
Section titled “Symbol.typename”app.activeDocument.symbols[index].typename
Description
Section titled “Description”The class name of the object.
String; read-only.
Methods
Section titled “Methods”Symbol.duplicate()
Section titled “Symbol.duplicate()”app.activeDocument.symbols[index].duplicate()
Description
Section titled “Description”Creates a duplicate of this object.
Returns
Section titled “Returns”Symbol.remove()
Section titled “Symbol.remove()”app.activeDocument.symbols[index].remove()
Description
Section titled “Description”Deletes this object.
Returns
Section titled “Returns”Nothing.