Adobe 26001360 Scripting Guide - Page 370
MeshItems, Notes, Example 37.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 370 highlights
370 Visual Basic Reference Notes Mesh items cannot be created from a script, but can be copied and pasted. Example 37.1 This script illustrates how to lock all MeshItems in the active document. Dim appRef As New Illustrator.Application Dim meshItem As Illustrator.meshItem For Each meshItem In appRef.ActiveDocument.MeshItems meshItem.Locked = True MeshItems A collection of gradient mesh art objects. Table 5.75 MeshItems - Properties Property R/O Value type What it is Application Count Parent R/O Application object The Illustrator Application object R/O Long The number of objects in the collection R/O object The object that contains this MeshItems object Table 5.76 MeshItems - Methods Method Returns Index(item As MeshItem) Long Item(itemKey) MeshItem object RemoveAll() Nothing 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 Deletes all objects in this collection 12 Aug 03