layer

A collection of layers.

Element

button
form field
graphic line
group
guide
oval
page item
polygon
rectangle
text frame

layer Properties

Property Type Access Description
all graphics List of graphic read Lists all graphics contained by the layer.
all page items List of page item read Lists all page items contained by the layer.
class type class read The class descriptor type.
id integer read The unique ID of the layer.
ignore wrap boolean r/w If true, text wrap settings applied to objects on the layer will not affect text on other layers when the layer is hidden.
index integer read The index of the layer within its containing object.
label string r/w A property that can be set to any string.
layer color anything r/w The color of the layer, specified either as an array of three doubles, each in the range 0 to 255 and representing R, G, and B values, or as a UI color. Can return: list of 3 fixed (0 – 255) or light blue/red/green/blue/yellow/magenta/cyan/gray/black/o…
lock guides boolean r/w If true, the guide positions on the layer are locked.
locked boolean r/w If true, the layer is locked.
name string r/w The name of the layer.
object reference layer read An object reference for the layer.
parent document read The parent of the layer (a document).
printable boolean r/w If true, the layer will print.
properties record r/w A property that allows setting of several properties at the same time.
show guides boolean r/w If true, guides are visible on the layer.
visible boolean r/w If true, the layer is visible.

Leave a Comment

Previous post:

Next post: