Previous Document Next Document

Object Model Reference : Classes : P : PostScriptFill : Properties : PostScriptFill.Properties


PostScriptFill.Properties

Property Properties(Index As Long) As Long

Description

Member of PostScriptFill

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

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

VBA example

The following VBA 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 2013 Corel Corporation. All rights reserved.