Object Model Reference : Classes : S : ShapeRange : Methods : ShapeRange.ApplyPostscriptFill |
Sub ApplyPostscriptFill(IndexOrName As Variant)
Member of ShapeRange
The ApplyPostscriptFill method applies a specified PostScript fill to all the shapes in a shape range.
The following VBA example applies a PostScript fill to each text shape on the page.
Sub Test() |
Dim sr As ShapeRange |
Set sr = ActivePage.FindShapes(Type:=cdrTextShape) |
sr.ApplyPostscriptFill "Bricks" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.