Adobe 26001360 Scripting Guide - Page 327
ExportOptionsPNG24, Example 16.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 327 highlights
Adobe Illustrator CS Scripting Guide 327 Example 16.1 This example exports the current document as a Photoshop 5 file with layers. Dim appRef As New Illustrator.Application Dim psdExportOptions As New Illustrator.ExportOptionsPhotoshop Dim docRef As Illustrator.Document If appRef.Documents.Count > 0 Then psdExportOptions.Resolution = 150 Set docRef = appRef.ActiveDocument docRef.Export "C:\temp\AiExport.psd", aiPhotoshop, psdExportOptions End If ExportOptionsPNG24 Options which may be supplied when exporting a document as a 24-bit PNG file. See the Export method for additional details. Table 5.32 ExportOptionsPNG24 - Properties Property R/O Value type What it is AntiAliasing Application ArtBoardClipping HorizontalScale Matte MatteColor SaveAsHTML Transparency VerticalScale Boolean If true, the exported image should be anti-aliased; default: true R/O Application object The Illustrator Application object Boolean If true, the exported image should be clipped to the art board; default: false Double The horizontal scaling factor to apply to the exported image, where 100.0 is 100%. The default: 100.0 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%. The default: 100.0 12 Aug 03