Upravit

Sdílet prostřednictvím


Borders.Shadow property (Word)

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.

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

Borders Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.