Borders.Shadow Property

Word Developer Reference

True if the specified border is formatted as shadowed. Read/write Boolean.

Syntax

expression.Shadow

expression   Required. A variable that represents a Borders collection.

Example

This example demonstrates two different border styles in a new document.

Visual Basic for Applications
  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

See Also