Adobe 26001360 Scripting Guide - Page 380
Paragraphs, Table 5.84, Paragraphs - Properties, Paragraphs - Methods
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 380 highlights
380 Visual Basic Reference Set textRef = docRef.TextFrames.AreaText(pathRef) textRef.Paragraphs.Add ("Left justified paragraph.") textRef.Paragraphs.Add ("Center justified paragraph.") textRef.Paragraphs.Add ("Right justified paragraph.") textRef.TextRange.CharacterAttributes.Size = 28 ' Change the justification of each paragraph ' using the paragraph attributes object textRef.Paragraphs(1).ParagraphAttributes.Justification = aiRight textRef.Paragraphs(2).ParagraphAttributes.Justification = aiCenter textRef.Paragraphs(3).ParagraphAttributes.Justification = aiLeft Paragraphs A collection of paragraphs. Table 5.84 Paragraphs - 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 Document object The document that contains this Paragraphs object Table 5.85 Paragraphs - Methods Method Returns AddBefore(Contents as String) Add(Contents as String [, RelativeObject] [, InsertionLocation]) Index(item As TextRange) TextRange object TextRange object Long item(itemKey) TextRange object RemoveAll() Nothing What it does Insert text at the beginning of the range Add a Paragraph to the contents of a TextFrame object 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