Previous Document Next Document

Object Model Reference : Classes : F : Fill : Methods : Fill.ApplyPostscriptFill


Fill.ApplyPostscriptFill

Function ApplyPostscriptFill(IndexOrName As Variant) As PostScriptFill

Description

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

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.