Adobe 26001360 - Illustrator CS - PC Manual page 420

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

Advertisement

420
Table 5.122 PrintFlattenerOptions — Properties (Continued)
Property
RasterizationResolution
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
R/O
Value type
Double
12 Aug 03
Visual Basic Reference
What it is
The rasterization resolution (1.0–9600.0;
default: 300.0)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents