Previous Document Next Document
PrintPostScript.AutoIncreaseFountainSteps

Property AutoIncreaseFountainSteps As Boolean

Member of PrintPostScript

The AutoIncreaseFlatness property controls whether the print engine increases the number of fountain steps to reduce banding. When this property is set to True, the print engine makes the increase if it is necessary.

The following code example creates a rectangle and fills it with a a conical fountain fill. After it sets AutoIncreaseFountainSteps to True, it 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, , 4 
 With ActiveDocument 
  .PrintSettings.PostScript.AutoIncreaseFountainSteps = True 
  .PrintOut 
 End With 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.