Returns or sets the default line width of borders. Read/write WdLineWidth.
WdLineWidth can be one of these WdLineWidth constants. |
wdLineWidth025pt |
wdLineWidth050pt |
wdLineWidth075pt |
wdLineWidth100pt |
wdLineWidth150pt |
wdLineWidth225pt |
wdLineWidth300pt |
wdLineWidth450pt |
wdLineWidth600pt |
expression.DefaultBorderLineWidth
expression Required. An expression that returns one of the objects in the Applies To list.
Note If the Enable property of the Borders object is set to True, the default line width and line style of borders are used.
Example
This example changes the default line width of borders and then adds a border around each paragraph in the selection.
Options.DefaultBorderLineWidth = wdLineWidth050pt
Selection.Borders.Enable = True