A Boolean type property. A flag that specifies whether the PenColor, PenPattern and PenWeight properties of this style, that control the line attributes, are effective. True - the parameters are effective. False - the line parameters don't apply when the style is assigned to a shape.
Applies to: Style object
[[Let] booleanRet =] object.HasPenAttr [Let] object.HasPenAttr = hasPenAttrSet |
The HasPenAttr property syntax has these parts:
Part | Description |
object | Required. An expression that returns a Style object. |
booleanRet | Optional. A Boolean type variable. |
hasPenAttrSet | Required. An expression that returns a Boolean value. |