Previous Document Next Document
PostScriptFill.Properties

Property Properties(Index As Long) As Long

Member of PostScriptFill

The Properties property returns or sets a specified property of a PostScript fill by referencing the index number of the property.

Parameters
Description
Index
Specifies a property of a PostScript fill. For example, the Bricks postscript fill has four properties. PostScriptFill.Properties(2) returns the line width of the fill.

The following code example applies the Birds pattern to a rectangle. It then changes the frequency value to 4 and background gray level to 50%:

Sub Test() 
 Dim s As Shape 
 Dim pf As PostScriptFill 
 Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4) 
 Set pf = s.Fill.ApplyPostscriptFill("Birds") 
 pf.Properties(1) = 4 
 pf.Properties(4) = 50 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.