A Long type property. Gets and sets the line pattern applied by default to new shapes created in the document.
Applies to: Document object
[[Let] patternRet =] object.DefPenPattern [Let] object.DefPenPattern = patternSet |
The DefPenPattern property syntax has these parts:
Part | Description |
object |
Required. An expression that returns an instance of the Document object. |
patternRet | Optional. A Long type variable. |
patternSet | Required. An expression that returns a Long value. |
When a new shape is created in the document, the value of the DefPenPattern property is set to the corresponding PenPattern property of the shape. The range of valid values for DefPenPattern is the same as for the PenPattern property of the Shape object.
See Also |
DefPenColor property, DefPenWeight property, PenPattern property, Shape object |