Border.ArtWidth 属性 (Word)

返回或设置指定艺术型边框的宽度 (以磅为单位)。 读/写 Long

语法

expressionArtWidth

表达 一个代表“Border”对象的变量。

示例

本示例为选定内容的第一节的每个页面添加由黑点构成的宽为 6 磅的边框。

Dim borderLoop As Border 
 
For Each borderLoop In Selection.Sections(1).Borders 
 With borderLoop 
 .ArtStyle = wdArtBasicBlackDots 
 .ArtWidth = 6 
 End With 
Next borderLoop

另请参阅

Border 对象

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。