Adobe 26001360 - Illustrator CS - PC Manual page 325

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

Advertisement

Adobe Illustrator CS Scripting Guide
Table 5.30 ExportOptionsJPEG — Properties (Continued)
Property
QualitySetting
SaveAsHTML
VerticalScale
Notes
It is not necessary to specify values for all properties. Default values will be provided for any
properties not specified.
Example 15.1
This example demonstrates how to export the current document as a JPEG with specific
options.
Dim appRef As New Illustrator.Application
Dim jpegExportOptions As New Illustrator.ExportOptionsJPEG
Dim docRef As Illustrator.Document
If appRef.Documents.Count > 0 Then
jpegExportOptions.AntiAliasing = False
jpegExportOptions.QualitySetting = 70
Set docRef = appRef.ActiveDocument
docRef.Export "C:\temp\AiExport.jpg", aiJPEG, jpegExportOptions
End If
R/O
Value type
Long
Boolean
Double
12 Aug 03
What it is
The quality of the exported image; value
ranges from 0 to 100; default value is 30
If true, the exported image should be
saved with an accompanying HTML file;
default value is false
The vertical scaling factor to apply to the
exported image, where 100.0 is 100%. The
default value is 100.0
325

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents