Read-only. Returns an instance of the Color object that corresponds to the fill color of the shape.
Applies to: Shape object, Style object
[[Set] colorRet =] object.FillColor |
The FillColor 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. |
Shape object:
Note, that the shape is filled only when it has closed geometries, that is,
geometries whose begin and end points coincide.
The FillColor property is also a table parameter of the shape, that is, its value can be described by a formula. To work with FillColor as a table parameter, use the CDPT_FILLCOLOR constant tag.
Style object:
When a style is assigned to a shape, the parameters of the FillColor property
of the style are set to the FillColor property of the shape.
FillColor is only effective when the HasFillAttr property
of this style is True.
To change the fill pattern color and pattern type of a shape, use the FillPatColor and FillPattern properties respectively.
See Also |
DefFillColor property, FillPatColor property, FillPattern property, HasFillAttr property, Color object |