DefFillPattern Property

A Long type property. Gets and sets the type of the fill pattern, applied by default to every new shape, created in the document.

Applies to: Document object

Syntax

[[Let] fillPatternRet =] object.DefFillPattern

[Let] object.DefFillPattern = fillPatternSet

The DefFillPattern property syntax has these parts:

Part Description
object

Required. An expression that returns a Document object.

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

Remarks

When a new shape is created in the document, the value of the DefFillPattern property is set to the corresponding FillPattern property of the shape. The range of valid values for the DefFillPattern property is the same as for the FillPattern property of the Shape object.

 

See Also

DefFillColor property, DefFillPatColor property, FillPattern property, Color object, Shape object