Brushes - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

296

Brushes

A collection of brushes in a document.
Table 5.5
Brushes — Properties
Property
Application
Count
Parent
Table 5.6
Brushes — Methods
Method
Index(item As Brush)
item(itemKey)
Example 3.1
This script displays the total number of available brushes in the current document.
Dim appRef As New Illustrator.Application
Dim numBrushes As Long
If appRef.Documents.Count > 0 Then
numBrushes = appRef.ActiveDocument.Brushes.Count
MsgBox ("There are " & numBrushes & " brushes in the document.")
End If
R/O
Value type
R/O
Application object
R/O
Long
R/O
Document object
Returns
Long
Brush object
12 Aug 03
Visual Basic Reference
What it is
The Illustrator Application object
The number of objects in the collection
The document that contains this
Brushes object
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents