Layer

A layer.

Layer Properties

Property Type Access Description
AllGraphics Array of Graphics read All graphics contained by the object.
AllPageItems Array of PageItems read All page items contained by the object.
Buttons Buttons read The buttons contained by the object.
FormFields FormFields read The form fields contained by the object.
GraphicLines GraphicLines read The graphic lines contained by the object.
Groups Groups read The groups contained by the object.
Guides Guides read Every guide.
Id Long read A unique number identifying the object.
IgnoreWrap Boolean r/w If true, text wrap on this layer will be ignored when the layer is hidden.
Index Long read Index of the object within its parent object.
Label String r/w A label that can be set to any string.
LayerColor Array of 3 Doubles (0 – 255), idUIColors enumeration (see table at end of chapter) r/w The color of the layer.
Locked Boolean r/w If true, the object is locked.
LockGuides Boolean r/w If true, guides on this layer are locked.
Name String r/w The name of the object.
Ovals Ovals read All ovals contained by the object.
PageItems PageItems read The page items contained by the object.
Parent Object read The parent of the object.
Polygons Polygons read The polygons contained by the object.
Rectangles Rectangles read The rectangles contained by the object.
ShowGuides Boolean r/w If true, guides on this layer are shown.
TextFrames TextFrames read The text frames contained by the object.
Visible Boolean r/w If true, the layer is visible.

Layer Methods

Method Returns Description
Delete Nothing Deletes the object.
Duplicate Object Duplicates the object.
ExtractLabel String Gets the content of the label associated with the specified key (name).
InsertLabel Nothing Sets the content of the label associated with the specified key (name), creating the label if it does not already exist.
Merge Layer Merge with another layer.
Move Object Move the Layer before/after another Layer, or to beginning/end.

Leave a Comment

Previous post:

Next post: