Shape.Shadow Property (Publisher)
Returns a ShadowFormat object that represents the shadow formatting for the specified shape.
Syntax
expression .Shadow
expression A variable that represents a Shape object.
Example
This example adds an arrow with shadow formatting and fill color to the first page in the active document.
Sub SetShapeShadow()
With ActiveDocument.Pages(1).Shapes.AddShape( _
Type:=msoShapeRightArrow, Left:=72, _
Top:=72, Width:=64, Height:=43)
.Shadow.Type = msoShadow5
.Fill.ForeColor.RGB = RGB(Red:=255, Green:=0, Blue:=255)
End With
End Sub