返回或设置边框的默认线条宽度。WdLineWidth,可读写。
WdLineWidth 可以是下列 WdLineWidth 常量之一: |
wdLineWidth025pt |
wdLineWidth050pt |
wdLineWidth075pt |
wdLineWidth100pt |
wdLineWidth150pt |
wdLineWidth225pt |
wdLineWidth300pt |
wdLineWidth450pt |
wdLineWidth600pt |
expression.DefaultBorderLineWidth
expression 必需。该表达式返回“应用于”列表中的一个对象。
注意 如果将 Borders 对象的 Enable 属性设置为 True,则可以使用默认线条宽度和线型。
本示例更改边框的默认线条宽度,然后为所选内容的每一段周围添加边框。
Options.DefaultBorderLineWidth = wdLineWidth050pt
Selection.Borders.Enable = True