Share via


Font.Shadow Property

PowerPoint Developer Reference

Determines whether the specified text has a shadow. Read/write.

Syntax

expression.Shadow

expression   A variable that represents a Font object.

Remarks

The value of the Shadow property can be one of these MsoTriState constants.

Constant Description
msoFalse The specified text doesn't have a shadow.
msoTriStateMixed Some of the specified text has a shadow and some doesn't.
msoTrue The specified text has a shadow.

Example

This example adds a shadow to the title text on slide one in the active presentation.

Visual Basic for Applications
  Application.ActivePresentation.Slides(1).Shapes.Title _
    .TextFrame.TextRange.Font.Shadow = True

See Also