Borders.Shadow プロパティ (Word)

True として指定した罫線が書式設定された影付きにします。 読み取り/書き込みが可能な Boolean です。

構文

expression 必須です。 'Borders' コレクションを表す変数。

次の使用例は、新しい文書に 2 種類の罫線を挿入します。

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 のサポートおよびフィードバックを参照してください。