PenPattern Property

A Long type property. The line pattern type for the shape.

Applies to: Shape object, Style object

Syntax

[[Let] linePatternRet =] object.PenPattern

[Let] object.PenPattern = linePatternSet

The PenPattern property syntax has these parts:

Part Description
object

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

linePatternRet Optional. A Long type variable.
linePatternSet Required. An expression that returns a Long value.

Remarks

The value of PenPattern can be in the range of 0 to 15.

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

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

 

See Also

DefPenPattern property, HasPenAttr property, PenColor property, PenWeight property