Share via


ShadowFormat.Transparency Property (Word)

Returns or sets the degree of transparency of the specified shadow as a value between 0.0 (opaque) and 1.0 (clear). Read/write Single.

Syntax

expression .Transparency

expression Required. A variable that represents a ShadowFormat object.

Example

This example sets the shadow of shape three in the active document to semitransparent red. If the shape doesn't already have a shadow, this example adds one to it.

With ActiveDocument.Shapes(3).Shadow 
 .Visible = True 
 .ForeColor.RGB = RGB(255, 0, 0) 
 .Transparency = 0.5 
End With

See Also

Concepts

ShadowFormat Object

ShadowFormat Object Members