GroupItems

A collection of group items.

Methods:

add, createFromFile, 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

GroupItem add ()

Create a group item.

GroupItem createFromFile (imageFile:File)

Create a group item from a vector graphics file.

Parameter

Type

Description

imageFile

File

The vector graphics file to be embedded.

GroupItem 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.groupItems

GroupItem.groupItems

Layer.groupItems