Previous Document Next Document
Fill.ApplyPostscriptFill

Function ApplyPostscriptFill(IndexOrName As Variant) As PostScriptFill

Member of Fill

The ApplyPostscriptFill method applies a PostScript fill to a shape.

Parameters
Description
IndexOrName
Specifies the PostScript fill by its name (for example, Bubbles) or by its number in the list of available PostScript fills

The following code example creates a rectangle and applies the Bubbles PostScript fill to it:

Sub Test() 
 Dim s As Shape 
 Set s = ActiveLayer.CreateRectangle(0, 0, 5, 5) 
 s.Fill.ApplyPostscriptFill "Bubbles" 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.