Class
A collection of artboards.
add, getActiveArtboardIndex, getByName, insert, remove, removeAll, setActiveArtboardIndex
Artboards
QuickLinks
Hierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| length | int | readonly | Number of elements in the collection. |
| parent | Object | readonly | The object's container. |
| typename | string | readonly | The class name of the object. |
Methods
Class
Artboard add (artboardRect:
Rect)
Add artboard object.
| Parameter | Type | Description |
|---|---|---|
| artboardRect | Rect | Size and position of artboard. |
Instances
int getActiveArtboardIndex ()
Retrieves the index position of the active artboard in the document's list.
Artboard getByName (artboardName:
string)
Get the first Artboard with specified name.
| Parameter | Type | Description |
|---|---|---|
| artboardName | string | The name of the artboard. |
void insert (artboardRect:
Rect, index:
int)
Insert an Artboard at specified location.
| Parameter | Type | Description |
|---|---|---|
| artboardRect | Rect | Size and position of artboard. |
| index | int | Index position where artboard should be inserted. |
void remove (index:
int)
Delete artboard object.
| Parameter | Type | Description |
|---|---|---|
| index | int | Index of the crop area to be deleted. |
void removeAll ()
Deletes all elements.
void setActiveArtboardIndex (index:
int)
Makes a specific artboard active, and makes it current in the iteration order.
| Parameter | Type | Description |
|---|---|---|
| index | int | The 0-based index position of the artboard in the document list. |
Element of
Document.artboards
| Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |