Previous Document Next Document

Object Model Reference : Classes : P : PrintPostScript : Properties : PrintPostScript.OptimizeFountainFills


PrintPostScript.OptimizeFountainFills

Property OptimizeFountainFills As Boolean

Description

Member of PrintPostScript

The OptimizeFountainFills property determines whether the print engine decreases the number of fountain steps. When this property is set to True, the print engine makes the decrease only if necessary.

VBA example

The following VBA example creates a rectangle, fills it with a conical fountain fill with 256 steps, sets the OptimizeFountainFills property to True, and prints the document.

Sub Test()
 Dim s As Shape
 Set s = ActiveLayer.CreateRectangle(2, 4, 6, 8)
 s.Fill.ApplyFountainFill CreateRGBColor(255, 0, 0), CreateRGBColor(0, 255, 0), cdrConicalFountainFill, , 256
 With ActiveDocument
  .PrintSettings.PostScript.OptimizeFountainFills = True
  .PrintOut
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.