Upravit

Sdílet prostřednictvím


Shape.Shadow property (Word)

Returns a ShadowFormat object that represents the shadow formatting for the specified shape.

Syntax

expression.Shadow

expression Required. A variable that represents a Shape object.

Example

This example adds an arrow with shadow formatting to the active document.

Set myShape = ActiveDocument.Shapes _ 
 .AddShape(Type:=msoShapeRightArrow, _ 
 Left:=90, Top:=79, Width:=64, Height:=43) 
myShape.Shadow.Type = msoShadow5

See also

Shape 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.