Adobe 26001360 - Illustrator CS - PC Manual page 329

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

Advertisement

Adobe Illustrator CS Scripting Guide
Table 5.33 ExportOptionsPNG8 — Properties (Continued)
Property
ColorReduction
DitherPercent
HorizontalScale
Interlaced
Matte
MatteColor
SaveAsHTML
Transparency
VerticalScale
WebSnap
Notes
It is not necessary to specify values for all properties. Default values will be provided for any
properties not specified.
Example 18.1
This example exports the current document as a PNG8 file.
Dim appRef As New Illustrator.Application
Dim png8ExportOptions As New Illustrator.ExportOptionsPNG8
Dim docRef As Illustrator.Document
If appRef.Documents.Count > 0 Then
R/O
Value type
AiColorReductionMethod enumeration
Long
Double
Boolean
Boolean
RGBColor object
Boolean
Boolean
Double
Long
12 Aug 03
What it is
The method used to reduce the number
of colors in the exported image; default:
aiSelective
Specifies how much the colors of the
exported image should be dithered,
where 100.0 is 100%
The horizontal scaling factor to apply to
the exported image, where 100.0 is 100%;
default: 100.0
If true, the exported image should be
interlaced; default: false
If true, the art board should be matted
with a color; default: true
The color to use when matting the art
board; default: white
If true, the exported image should be
saved with an accompanying HTML file;
default: false
If true, the exported image should use
transparency; default: true
The vertical scaling factor to apply to the
exported image, where 100.0 is 100%;
default: 100.0
Specifies how much the color table
should be changed to match the web
palette, where 100 is maximum; default: 0
329

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents