Adobe 26001360 Scripting Guide - Page 393
Pattern, Example 49.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 393 highlights
Adobe Illustrator CS Scripting Guide 393 Table 5.97 PathPoints - Methods Method Returns item(itemKey) PathPoint object RemoveAll() Nothing What it does Returns an object reference to the object identified by itemKey; by name or index Deletes all objects in this collection Example 49.1 This script illustrates how to add a new path point to an existing path. Dim appRef As New Illustrator.Application Dim firstPath As Illustrator.PathItem Dim newPoint As Illustrator.PathPoint Set firstPath = appRef.ActiveDocument.PathItems(1) Set newPoint = firstPath.PathPoints.Add newPoint.Anchor = Array(75, 300) newPoint.LeftDirection = Array(10, 280) newPoint.RightDirection = Array(165, 330) Pattern A pattern definition contained in a document. Table 5.98 Pattern - Properties Property R/O Value type What it is Application Name Parent R/O Application object The Illustrator Application object String The pattern name R/O Document object The document that contains this pattern Table 5.99 Pattern - Methods Method Returns Delete() What it does Deletes the object 12 Aug 03