Adobe Illustrator CS6 Type Library JS: Symbols

Illustrator CS6

Class

Symbols

 A collection of symbols.

See also Symbol.

QuickLinks

add, getByName, removeAll

Hierarchy

Object
Symbols

Properties

PropertyTypeAccessDescription
lengthint readonlyNumber of elements in the collection.
parentObject readonlyThe object's container.
typenamestring readonlyThe class name of the object.

Methods

Class

Symbol add (sourceArt: PageItem[, registrationPoint: SymbolRegistrationPoint=SymbolRegistrationPoint.SYMBOLCENTERPOINT])
Create a symbol.

ParameterTypeDescription
sourceArtPageItemThe art item from which to make this symbol.
registrationPointSymbolRegistrationPoint:
SymbolRegistrationPoint.SYMBOLTOPLEFTPOINT
SymbolRegistrationPoint.SYMBOLTOPMIDDLEPOINT
SymbolRegistrationPoint.SYMBOLTOPRIGHTPOINT
SymbolRegistrationPoint.SYMBOLMIDDLELEFTPOINT
SymbolRegistrationPoint.SYMBOLCENTERPOINT
SymbolRegistrationPoint.SYMBOLMIDDLERIGHTPOINT
SymbolRegistrationPoint.SYMBOLBOTTOMLEFTPOINT
SymbolRegistrationPoint.SYMBOLBOTTOMMIDDLEPOINT
SymbolRegistrationPoint.SYMBOLBOTTOMRIGHTPOINT
The symbol registration point. (default: SymbolRegistrationPoint.SYMBOLCENTERPOINT) (Optional)

Instances

Symbol getByName (name: string)
Get the first element in the collection with the provided name.

ParameterTypeDescription
namestring

void removeAll ()
Deletes all elements.

Element of

Document.symbols

Jongware, 25-Nov-2012 v3.0.3iContents :: Index