Adobe 26001360 Scripting Guide - Page 329
Notes, Example 18.1, Table 5.33, ExportOptionsPNG8 - Properties Continued
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 329 highlights
Adobe Illustrator CS Scripting Guide 329 Table 5.33 ExportOptionsPNG8 - Properties (Continued) Property R/O Value type What it is ColorReduction DitherPercent HorizontalScale Interlaced Matte MatteColor SaveAsHTML Transparency VerticalScale WebSnap AiColorReductionMethod enumeration The method used to reduce the number of colors in the exported image; default: aiSelective Long Specifies how much the colors of the exported image should be dithered, where 100.0 is 100% Double The horizontal scaling factor to apply to the exported image, where 100.0 is 100%; default: 100.0 Boolean If true, the exported image should be interlaced; default: false Boolean If true, the art board should be matted with a color; default: true RGBColor object The color to use when matting the art board; default: white Boolean If true, the exported image should be saved with an accompanying HTML file; default: false Boolean If true, the exported image should use transparency; default: true Double The vertical scaling factor to apply to the exported image, where 100.0 is 100%; default: 100.0 Long Specifies how much the color table should be changed to match the web palette, where 100 is maximum; default: 0 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 12 Aug 03