Compoundpathitems - 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
'Set the gradient of the compound path
newPath.Stroked = True
newPath.StrokeWidth = 3.5
newPath.StrokeColor = frontDocument.Swatches(8).Color

CompoundPathItems

A collection of compound paths.
Table 5.17 CompoundPathItems — Properties
Property
Application
Count
Parent
Table 5.18 CompoundPathItems — Methods
Method
Add()
Index(item As
CompoundPathItem)
Item(itemKey)
RemoveAll()
Example 9.1
This example displays the total number of compound paths contained in the first layer of the
current document.
Dim appRef As New Illustrator.Application
Dim numCPaths As Integer
R/O
Value type
R/O
Application object
R/O
Long
R/O
Document object
Returns
CompountPathItem object
Long
CompoundPathItem object
Nothing
12 Aug 03
What it is
The Illustrator Application object
The number of objects in the collection
The document that contains this
CompoundPathItems object
What it does
Creates a new CompoundPathItem
Returns the index position of the object
within the collection
Returns an object reference to the object
identified by itemKey; by name or
index
Deletes all objects in this collection
309

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents