Adobe 26001360 Scripting Guide - Page 356
Layer, Table 5.63, Layer - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 356 highlights
356 Visual Basic Reference ' ' Use insertion points to add a space between ' every character. ' Dim appRef As New Illustrator.Application Dim docRef As Illustrator.Document ' create a new document and simple text frame Set docRef = appRef.Documents.Add() Dim textRef As Illustrator.TextFrame Set textRef = docRef.TextFrames.Add() textRef.Contents = "Wouldn't you rather be scripting?" textRef.Top = 400 textRef.Left = 100 textRef.TextRange.CharacterAttributes.Size = 20 appRef.Redraw MsgBox "Use insertion points to add a space between all letters." Dim i As Integer i = 2 Do While (i < textRef.InsertionPoints.Count) textRef.InsertionPoints(i).Characters.Add (" ") i = i + 2 Loop Layer A layer in an Illustrator document. Layers may contain nested layers, which are called sublayers in the user interface. Table 5.63 Layer - Properties Property R/O Value type What it is Application ArtworkKnockout BlendingMode Color CompoundPathItems DimPlacedImages R/O Application object The Illustrator Application object AiKnockoutState enumeration Is this Layer used to create a knockout? If so, what kind of knockout? AiBlendModes enumeration The mode used when compositing an object RGBColor object The Layer's selection mark color R/O CompoundPathItems The CompoundPathItems contained collection object in this layer Boolean If true, placed images are to be rendered as dimmed in this Layer 12 Aug 03