FillPatColor Property

Read-only. Returns an instance of the Color object that corresponds to the pattern color of the shape.

Applies to: Shape object, Style object

Syntax

[[Set] colorRet =] object.FillPatColor

The FillPatColor property syntax has these parts:

Part Description
object

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

colorRet Optional. A Color type variable.

Remarks

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

Style object:
When a style is assigned to a shape, the parameters of the FillPatColor property of the style are set to the FillPatColor property of the shape. FillPatColor 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

DefFillPatColor property, FillColor property, FillPattern property, HasFillAttr property, Color object