Adobe 26001360 Scripting Guide - Page 462
Example 88.1, Table 5.168, TextFrames - Methods
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 462 highlights
462 Visual Basic Reference Table 5.168 TextFrames - Methods Method Add() AreaText( TextPath As PathItem, [Orientation], [BaseFrame], [PostFix]) Index(ItemPtr As TextFrame) Returns TextFrame TextFrame Long Item(ItemKey) TextFrame PathText(TextPath As PathItem, [StartTValue], [EndTValue], [Orientation], [BaseFrame], [PostFix]) PointText(Anchor, [Orientation]) RemoveAll() TextFrame TextFrame Nothing What it does Ceate a point text frame item Create an area text frame item Returns the index position of the object within the collection Returns an object reference to the object identified by itemKey; by name or index Create an on-path text frame item Create a point text frame item Deletes all objects in this collection Example 88.1 The following example illustrates how to add a document and create three different types of TextFrames. ' TextFrames ' ' Add a document and create 3 TextFrames (area, path, point). ' Change the content of each TextFrame. ' Remove one TextFrame and display the count. ' Dim appRef As New Illustrator.Application Dim docRef As Illustrator.Document Set docRef = appRef.Documents.Add() ' create 3 new textFrames (are, line, point) ' Area Text Dim rectRef As Illustrator.pathItem 12 Aug 03