Adobe 26001360 Scripting Guide - Page 402
PlacedItem, Example 55.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 402 highlights
402 Visual Basic Reference Example 55.1 ' PhotoshopFileOptions ' ' Open a PSD file and retain layers ' using the PhotoshopFileOptions object ' ' This sample assumes the "C:\temp\MultiLayer.psd" exists ' Dim appRef As New Illustrator.Application Dim docRef As Illustrator.Document With appRef.Preferences.PhotoshopFileOptions .PreserveLayers = True .PixelAspectRatioCorrection = False End With Set docRef = appRef.Open("C:\temp\MultiLayers.psd", aiDocumentRGBColor) PlacedItem An artwork item (optionally stored in an external file) placed in a document. A PlacedItem must correspond to a file containing vector-graphic data, such as a PICT, EPS or PDF file. Table 5.106 PlacedItem - Properties Property R/O Value type What it is Application ArtworkKnockout BlendingMode BoundingBox ContentVariable ControlBounds Editable File GeometricBounds R/O Application object The Illustrator Application object AiKnockoutState enumeration Is this object used to create a knockout? If so, what kind of knockout? AiBlendModes enumeration The mode used when compositing an object R/O Variant Array (of 4 Dimensions of PlacedItem regardless Doubles) of transformations Variable The Variable bound to this PlacedItem R/O Variant Array (of 4 The bounds of the object including stroke Doubles) width and controls R/O Boolean If true, this PlacedItem is editable String The file containing the placed object R/O Variant Array (of 4 The bounds of the object excluding Doubles) stroke width 12 Aug 03