Word) (Borders.AlwaysInFront 属性
如此 如果文档文本之前显示页面边框。 读/写 Boolean。
语法
expression。 AlwaysInFront
表达 一个代表“Borders”对象的变量。
示例
本示例在活动文档中第一节的文档文本之前添加艺术型页面边框。
Dim borderLoop as Border
With ActiveDocument.Sections(1)
.Borders.AlwaysInFront = True
For Each borderLoop In .Borders
With borderLoop
.ArtStyle = wdArtPeople
.ArtWidth = 15
End With
Next borderLoop
End With
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。