Adobe 26001360 Scripting Guide - Page 287
Visual Basic Reference, About the script examples
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 287 highlights
5 Visual Basic Reference 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 for an overview of how Illustrator's object 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 287