Word) (Borders.Shadow 属性

如果 为 true 指定的边框的格式设置为 阴影。 读/写 Boolean

语法

表达式阴影

expression 是必需的。 一个代表“Borders”集合的变量。

示例

本示例在新文档中演示两种不同的边框样式。

Set myRange = Documents.Add.Content 
With myRange 
 .InsertAfter "Demonstration of border with shadow." 
 .InsertParagraphAfter 
 .InsertParagraphAfter 
 .InsertAfter "Demonstration of border without shadow." 
End With 
With ActiveDocument 
 .Paragraphs(1).Borders.Shadow = True 
 .Paragraphs(3).Borders.Enable = True 
End With

另请参阅

边框集合对象

支持和反馈

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