Adobe 26001360 Scripting Guide - Page 87
coordinate options, Example 6.2
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 87 highlights
Adobe Illustrator CS Scripting Guide 87 Example 6.2 Compound paths contain path items that can be accessed from a script. This example shows how to duplicate the paths in a compound path and then group them in a new group item. -- Create a group containing a set of paths duplicated from the -- first compound path item of the document tell application "Illustrator CS" set pathItemList to every path item of ¬ compound path item 1 of current document set groupRef to make new group item at beginning of layer 1 of document 1 duplicate pathItemList to beginning of groupRef end tell coordinate options The print coordinate options Table 4.12 coordinate options - Properties Property R/O Value Type emulsion boolean fit to page boolean horizontal scale real orientation Valid values: • landscape • portrait • reverse landscape • reverse portrait What it is If true, the artwork will be flipped horizontally; default: false If true, proportionally scale the artwork to fit on media; default: false The horizontal scaling factor expressed as a percentage (100 = 100%) ( 1.0-10000.0; default: 100.0 ) The artwork orientation default: portrait 12 Aug 03