Swatch - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

Adobe Illustrator CS Scripting Guide
Table 5.144 Stories — Methods
Method
Index(ItemPtr as Story)
Item(ItemKey)
Note: See Example 78.1 for a sample script which uses the Stories class.

Swatch

A color swatch definition contained in a document.
Table 5.145 Swatch — Properties
Property
Application
Color
Name
Parent
Table 5.146 Swatch — Methods
Method
Delete()
Notes
The swatches correspond to the swatch palette in Illustrator's user interface. Additional
swatches can be created either manually by a user or by a script. The swatch can hold all types
of color data (i.e., pattern, gradient, CMYK, RGB, gray, spot).
Returns
Long
Story
R/O
Value type
R/O
Application object
Object
String
R/O
Document object
Returns
Nothing
12 Aug 03
What it does
Returns the index position of the object
within the collection
Returns an object reference to the object
identified by itemKey; by name or index
What it is
The Illustrator Application object
The color information for this swatch
The swatch's name
The document that contains this swatch
What it does
Delete the object
443

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents