Symbols

A collection of symbols.

Methods:

add, getByName, removeAll

Property Listing

Property

Type

Access

Description

length

Int

readonly

Number of elements in the collection.

parent

 

readonly

The object's container.

typename

String

readonly

The class name of the object.

Method Listing

Symbol add (sourceArt:PageItem, [registrationPoint:SymbolRegistrationPoint=SymbolRegistrationPoint])

Create a symbol.

Parameter

Type

Description

sourceArt

PageItem

The art item from which to make this symbol.

registrationPoint

SymbolRegistrationPoint

SymbolRegistrationPoint.SYMBOLBOTTOMLEFTPOINT

SymbolRegistrationPoint.SYMBOLBOTTOMMIDDLEPOINT

SymbolRegistrationPoint.SYMBOLBOTTOMRIGHTPOINT

SymbolRegistrationPoint.SYMBOLCENTERPOINT

SymbolRegistrationPoint.SYMBOLMIDDLELEFTPOINT

SymbolRegistrationPoint.SYMBOLMIDDLERIGHTPOINT

SymbolRegistrationPoint.SYMBOLTOPLEFTPOINT

SymbolRegistrationPoint.SYMBOLTOPMIDDLEPOINT

SymbolRegistrationPoint.SYMBOLTOPRIGHTPOINT

The symbol registration point.

(default: SymbolRegistrationPoint.SYMBOLCENTERPOINT)

Symbol getByName (name:String)

Get the first element in the collection with the provided name.

Parameter

Type

Description

name

String

 

undefined removeAll ()

Deletes all elements.

Object of

Document.symbols