Chapter 5: Visual Basic Reference; About The Script Examples - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

This reference section describes the objects and commands in Illustrator's Visual Basic type
library. All of the classes in the type library are presented alphabetically. The chapter concludes
with an enumerations reference which lists all of the enumerations in the Illustrator type
library.
Each class listing includes the following:
• Properties of the class, including value type, read-only status, and an explanation.
• Methods for the class. Enumerations and value types needed by the method are shown in
bold face. Required terms are shown in plain face. All items surrounded by brackets [ ] are
optional.
• Notes to explain special issues.
• Script examples.
Note: See
"Illustrator's object model" on page 33
model is structured.

About the script examples

Most of the examples do not necessarily represent the most efficient way to construct a Visual
Basic statement. All example scripts are written in a manner that should be easy to read and
understand. Error checking code, for example, is brief in most of the examples—the point is to
show you how to address and work with the Illustrator objects. Many of the examples may be
combined to make scripts with greater functionality.
Each script contains a single subroutine that can be pasted into any event in a Visual Basic form
if you are using the Visual Basic development environment. A standard button click event is
used for all examples. If you are using a built-in Visual Basic editor in a VBA application, you can
Visual Basic Reference
for an overview of how Illustrator's object
287
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents