Adobe Illustrator CS Scripting Guide
OpenOptions
Table 5.78 OpenOptions — Properties
Property
Application
UpdateLegacyText
Example 40.1
' OpenOptions
'
' Open a file with legacy text (AI 10 or older)
' The open options allow us to automatically update
' any legacy text.
' This test assumes the file "C:\temp\LegacyText.ai" exists
'
Dim appRef As New Illustrator.Application
Dim docRef As Illustrator.Document
' open a file with legacy text
Dim optionsRef As New Illustrator.OpenOptions
optionsRef.UpdateLegacyText = True
Set docRef = appRef.Open("C:\temp\LegacyText.ai", aiDocumentRGBColor,
optionsRef)
R/O
Value type
R/O
Application
Boolean
12 Aug 03
What it is
Application that the collection
belongs to
If true, update all text objects for
documents saved with legacy text by
Illustrator versions previous to CS;
default: false
373