Graphic Style, Graphic Styles - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

118

graphic style, graphic styles

An graphic style or list of graphic styles. Each graphic style defines a set of appearance
attributes that you can apply non-destructively to page items. Graphic styles are contained in
documents.
Table 4.29 graphic style, graphic styles — Properties
Property
best type
class
container
default type
index
name
properties
Valid Commands
• apply
• count
• delete
• exists
Notes
Illustrator's graphic styles can be accessed from scripting, but cannot be created.
You cannot delete default graphic styles.
Example 19.1
-- Duplicate and group the selected path items, then apply
-- a user-selected graphic style to the items in the new group
tell application "Illustrator CS" to ¬
set selectedItems to selection of document 1
R/O
Value type
R/O
type class
R/O
type class
R/O
object reference
R/O
type class
R/O
integer
Unicode text
record
12 Aug 03
AppleScript Reference
What it is
The best type for the graphic style
object's value;
always returns reference
The graphic style object's class,
which is graphic style
A reference to the document that
contains this graphic style
The default type for the graphic
style object, which is reference
The index of this graphic style
The name of this graphic style
All of the properties of this object
returned as a record

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents