ShapeRange.TextEffect Property
Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape. Read-only.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property TextEffect As TextEffectFormat
Get
'Usage
Dim instance As ShapeRange
Dim value As TextEffectFormat
value = instance.TextEffect
TextEffectFormat TextEffect { get; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.TextEffectFormat
TextEffectFormat
Remarks
Applies to ShapeRange objects that represent WordArt.
Examples
This example sets the font style to bold for shape three on myDocument if the shape is WordArt.
Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(3)
If .Type = msoTextEffect Then
.TextEffect.FontBold = True
End If
End With