Object Model Reference : Classes : F : Fill : Methods : Fill.ApplyPostscriptFill |
Function ApplyPostscriptFill(IndexOrName As Variant) As PostScriptFill
Member of Fill
The ApplyPostscriptFill method applies a PostScript fill to a shape.
Parameter
|
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 VBA 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 |
Copyright 2013 Corel Corporation. All rights reserved.