Share via


InsetPen Property

MsoTriState

MsoTriState can be one of these MsoTriState constants.
msoCTrue Doesn't apply to this property.
msoFalse Default. An inset pen is not enabled.
msoTriStateMixed Doesn't apply to this property.
msoTriStateToggle Doesn't apply to this property.
msoTrue An inset pen is enabled.

expression.InsetPen

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Remarks

An error occurs if this property attempts to set inset pen drawing on any Microsoft Office AutoShape which does not support inset pen drawing.

Example

The following line of code enables an inset pen for a shape. This example assumes that the first slide of the active presentation contains a shape and the shape supports inset pen drawing.

Sub DrawLinesInsideShape
    ActivePresentation.Slides(1).Shapes(1).Line.InsetPen = msoTrue
End Sub

Applies to | LineFormat Object