DefaultBorderLineStyle Property

Microsoft Word Visual Basic

DefaultBorderLineStyle Property

       

Returns or sets the default border line style. Read/write 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