FillPattern Property

A Long type property. Gets and sets the fill pattern of the shape.

Applies to: Shape object

Syntax

[[Let] longRet =] object.FillPattern

[Let] object.FillPattern = fillPatternSet

The FillPattern property syntax has these parts:

Part Description
object

Required. An expression that returns an object in the Applies to list.

longRet Optional. A Long type variable.
fillPatternSet Required. An expression that returns a Long value.

Remarks

The values of the FillPattern property can be in the range of 0 to 69.

Shape object:
The FillPattern property is also a table parameter of the shape, that is, its value can be described by a formula. To work with FillPattern as a table parameter, use the CDPT_FILLPATTERN constant tag.

Style object:
When a style is assigned to a shape, the parameters of the FillPattern property of the style are set to the FillPattern property of the shape. FillPattern is only effective when the HasFillAttr property of this style is True.

To change the fill color and pattern type, use the FillColor and FillPattern properties respectively.

 

See Also

DefFillPattern property, FillColor property, FillPatColor property, HasFillAttr property, Property Tags Constants