TextEffectFormat.PresetShape property (PowerPoint)
Returns or sets the shape of the specified WordArt. Read/write.
Syntax
expression. PresetShape
expression A variable that represents a TextEffectFormat object.
Return value
MsoPresetTextEffectShape
Remarks
Setting the PresetTextEffect property automatically sets the PresetShape property.
The value of the PresetShape property can be one of these MsoPresetTextEffectShape constants.
msoTextEffectShapeArchDownCurve |
msoTextEffectShapeArchDownPour |
msoTextEffectShapeArchUpCurve |
msoTextEffectShapeArchUpPour |
msoTextEffectShapeButtonCurve |
msoTextEffectShapeButtonPour |
msoTextEffectShapeCanDown |
msoTextEffectShapeCanUp |
msoTextEffectShapeCascadeDown |
msoTextEffectShapeCascadeUp |
msoTextEffectShapeChevronDown |
msoTextEffectShapeChevronUp |
msoTextEffectShapeCircleCurve |
msoTextEffectShapeCirclePour |
msoTextEffectShapeCurveDown |
msoTextEffectShapeCurveUp |
msoTextEffectShapeDeflate |
msoTextEffectShapeDeflateBottom |
msoTextEffectShapeDeflateInflate |
msoTextEffectShapeDeflateInflateDeflate |
msoTextEffectShapeDeflateTop |
msoTextEffectShapeDoubleWave2 |
msoTextEffectShapeFadeDown |
msoTextEffectShapeFadeLeft |
msoTextEffectShapeFadeRight |
msoTextEffectShapeFadeUp |
msoTextEffectShapeInflate |
msoTextEffectShapeInflateBottom |
msoTextEffectShapeInflateTop |
msoTextEffectShapeMixed |
msoTextEffectShapePlainText |
msoTextEffectShapeRingInside |
msoTextEffectShapeRingOutside |
msoTextEffectShapeSlantDown |
msoTextEffectShapeSlantUp |
msoTextEffectShapeStop |
msoTextEffectShapeTriangleDown |
msoTextEffectShapeTriangleUp |
msoTextEffectShapeWave1 |
msoTextEffectShapeWave2 |
msoTextEffectShapeDoubleWave1 |
Example
This example sets the shape of all WordArt on myDocument to a chevron whose center points down.
Set myDocument = ActivePresentation.Slides(1)
For Each s In myDocument.Shapes
If s.Type = msoTextEffect Then
s.TextEffect.PresetShape = msoTextEffectShapeChevronDown
End If
Next
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