DefaultBorderLineStyle Property

WdLineStyle

WdLineStyle can be one of these WdLineStyle constants.
wdLineStyleDashDot
wdLineStyleDashDotDot
wdLineStyleDashDotStroked
wdLineStyleDashLargeGap
wdLineStyleDashSmallGap
wdLineStyleDot
wdLineStyleDouble
wdLineStyleDoubleWavy
wdLineStyleEmboss3D
wdLineStyleEngrave3D
wdLineStyleInset
wdLineStyleNone
wdLineStyleOutset
wdLineStyleSingle
wdLineStyleSingleWavy
wdLineStyleThickThinLargeGap
wdLineStyleThickThinMedGap
wdLineStyleThickThinSmallGap
wdLineStyleThinThickLargeGap
wdLineStyleThinThickMedGap
wdLineStyleThinThickSmallGap
wdLineStyleThinThickThinLargeGap
wdLineStyleThinThickThinMedGap
wdLineStyleThinThickThinSmallGap
wdLineStyleTriple

expression.DefaultBorderLineStyle

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

Example

This example sets the default line style to double.

Options.DefaultBorderLineStyle = wdLineStyleDouble

This example returns the current default line style.

Dim lngTemp As Long

lngTemp= Options.DefaultBorderLineStyle

Applies to | Options Object

See Also | DefaultBorderColorIndex Property | DefaultBorderLineWidth Property | Enable Property