Adobe 26001360 Scripting Guide - Page 401
PhotoshopFileOptions, Notes, Example 54.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 401 highlights
Adobe Illustrator CS Scripting Guide 401 Notes PDF save options 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 54.1 This script illustrates how to save the frontmost document as PDF. Dim appRef As New Illustrator.Application Dim saveOptions As New Illustrator.PDFSaveOptions saveOptions.ColorCompression = aiJPEGHigh saveOptions.Compatibility = aiAcrobat5 PhotoshopFileOptions You can supply options when opening a Photoshop file. Table 5.105 PhotoshopFileOptions - Properties Property R/O Value type What it is Application Parent PixelAspectRatioCorrection PreserveImageMaps PreserveLayers PreserveSlices R/O Application object The Illustrator Application object R/O Object This object's parent Boolean If true, imported images having nonsquare pixel aspect ratios should be corrected Boolean If true, the image maps should be preserved when the document is converted (default: true) Boolean If true, layers should be preserved when the document is converted; default: true Boolean If true, slices should be preserved when the document is converted; default: true 12 Aug 03