Adobe 26001360 Scripting Guide - Page 321
ExportOptionsFlash, Table 5.28, ExportOptionsFlash - Properties
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 321 highlights
Adobe Illustrator CS Scripting Guide 321 Notes EPSSaveOptions can only be supplied in conjunction with the SaveAs method. It is not necessary to specify values for all properties. Default values will be provided for any properties not specified. Example 13.1 This example demonstrates how to save the current document as an Illustrator 8-compatible EPS file using CMYK PostScript with all fonts embedded. Dim appRef As New Illustrator.Application Dim newSaveOptions As New Illustrator.EPSSaveOptions Dim frontDocument As Illustrator.Document If appRef.Documents.Count > 0 Then newSaveOptions.CMYKPostScript = True newSaveOptions.Compatibility = aiIllustrator8 newSaveOptions.EmbedAllFonts = True Set frontDocument = appRef.ActiveDocument frontDocument.SaveAs "C:\temp\SaveAs.eps", newSaveOptions End If ExportOptionsFlash Specifies options that you can supply when exporting a document as Flash (.SWF). Table 5.28 ExportOptionsFlash - Properties Property R/O Value type What it is Application ArtBoardClipping CurveQuality ExportStyle R/O Application object The Illustrator Application object Boolean If true, the exported image should be clipped to the art board; default value is false Long The amount of curve information that should be preserved; Values: 0-10, Default: 7 AiFlashExportStyle The style in which the exported data should be created in Flash; Default: Flash file. 12 Aug 03