Adobe 26001360 Scripting Guide - Page 420
Example 64.1, Table 5.122, PrintFlattenerOptions - Properties Continued
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 420 highlights
420 Visual Basic Reference Table 5.122 PrintFlattenerOptions - Properties (Continued) Property R/O Value type What it is RasterizationResolution Double The rasterization resolution (1.0-9600.0; default: 300.0) Example 64.1 ' PrintFlattenerOptions ' ' Open a document, and add a simple text frame ' with a graphic style applied. ' ' Print the document with "low" and "high" ' flattener settings ' Dim appRef As New Illustrator.Application Dim docRef As Illustrator.Document Set docRef = appRef.Documents.Add() Dim itemRef As Illustrator.PathItem Set itemRef = docRef.PathItems.Rectangle(600, 200, 200, 200) docRef.GraphicStyles(2).ApplyTo itemRef ' Create a PrintFlattenerOptions object and ' assign it to a PrintOptions object. Dim flatOpts As New Illustrator.PrintFlattenerOptions Dim printOpts As New Illustrator.printOptions printOpts.FlattenerOptions = flatOpts ' print faster with low resolution flatOpts.ClipComplexRegions = True flatOpts.GradientResolution = 30 flatOpts.RasterizationResolution = 30 docRef.PrintOut printOpts ' print slower with higher resolution flatOpts.ClipComplexRegions = False flatOpts.GradientResolution = 300 flatOpts.RasterizationResolution = 300 docRef.PrintOut printOpts 12 Aug 03