DefPenWeight Property

A Long value. Gets or sets the line weight, set by default to new shapes created in the document.

Applies to: Document object

Syntax

[[Let] weightRet =] object.DefPenWeight

[Let] object.DefPenWeight = weightSet

The DefPenWeight property syntax has these parts:

Part Description
object

Required. An expression, that returns an instance of the Document object.

weightRet Optional. A Long type variable.
weightSet Required. An expression that returns a Long value.

Remarks

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

 

See Also

DefPenColor property, DefPenPattern property, PenWeight property, Shape object