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 支持和反馈,获取有关如何接收支持和提供反馈的指南。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈