ShadowFormat.Obscured property (PowerPoint)
Determines whether the shadow of the specified shape appears filled in and is obscured by the shape. Read/write.
Syntax
expression.Obscured
expression A variable that represents an ShadowFormat object.
Return value
MsoTriState
Remarks
The value of the Obscured property can be one of these MsoTriState constants.
Constant | Description |
---|---|
msoFalse | The shadow has no fill and the outline of the shadow is visible through the shape if the shape has no fill. |
msoTrue | The shadow of the specified shape appears filled in and is obscured by the shape, even if the shape has no fill. |
Example
This example sets the horizontal and vertical offsets of the shadow for shape three on myDocument. The shadow is offset 5 points to the right of the shape and 3 points above it. If the shape doesn't already have a shadow, this example adds one to it. The shadow will be filled in and obscured by the shape, even if the shape has no fill.
Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(3).Shadow
.Visible = True
.OffsetX = 5
.OffsetY = -3
.Obscured = msoTrue
End With
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for