Swatch

A swatch.

Swatch Properties

Property Type Access Description
Id Long read A unique number identifying the object.
Index Long read Index of the object within its parent object.
Label String r/w A label that can be set to any string.
Name String r/w The name of the object.
Parent Object read The parent of the object.

Swatch 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 Swatch Merge one or more other swatches into this one.

Leave a Comment

Previous post:

Next post: