GraphicLayer
A layer in an imported graphic.
GraphicLayer Properties
| Property |
Type |
Access |
Description |
| adjustmentLayer |
Boolean |
read |
Is an adjustment layer. |
| currentVisibility |
Boolean |
r/w |
The current visibility. |
| exportState |
Boolean |
read |
Is the export state on or off. |
| fxLayer |
Boolean |
read |
Has layer effects. |
| graphicLayers |
GraphicLayers |
read |
Graphic layers. |
| hasExportState |
Boolean |
read |
Has an export state. |
| hasPrintState |
Boolean |
read |
Has a print state. |
| hasViewState |
Boolean |
read |
Has a view state. |
| id |
Long |
read |
A unique number identifying the object. |
| index |
Long |
read |
Index of the object within its parent object. |
| locked |
Boolean |
read |
If true, the object is locked. |
| name |
String |
read |
The name of the object. |
| originalVisibility |
Boolean |
read |
The original visibility. |
| parent |
Object |
read |
The parent of the object. |
| printState |
Boolean |
read |
Is the print state on or off. |
| properties |
An array of property names and values |
r/w |
Property that allows setting of several properties at the same time. |
| sectionDividerLayer |
Boolean |
read |
Is a section divider layer. |
| separatorLayer |
Boolean |
read |
Is a separator layer. |
| viewState |
Boolean |
read |
Is the view state on or off. |
GraphicLayer Methods
| Method |
Returns |
Description |
| getElements |
Array of Objects |
Resolve the object specifier. |
| toSource |
String |
Generate JavaScript source that, if executed, will return the specified objects. |
| toSpecifier |
String |
Retrieve the object specifier. |
Previous post: GraphicLayerOption
Next post: Graphic