Adobe 26001360 - Illustrator CS - PC Manual page 462

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

462
Table 5.168 TextFrames — Methods
Method
Add()
AreaText(
TextPath As PathItem,
[Orientation],
[BaseFrame],
[PostFix])
Index(ItemPtr As TextFrame)
Item(ItemKey)
PathText(TextPath As PathItem,
[StartTValue],
[EndTValue],
[Orientation],
[BaseFrame],
[PostFix])
PointText(Anchor,
[Orientation])
RemoveAll()
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
Returns
What it does
Ceate a point text frame item
TextFrame
Create an area text frame item
TextFrame
Returns the index position of the object
Long
within the collection
Returns an object reference to the object
TextFrame
identified by itemKey; by name or
index
Create an on-path text frame item
TextFrame
Create a point text frame item
TextFrame
Nothing
Deletes all objects in this collection
12 Aug 03
Visual Basic Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents