Share via


TextFrame2.WordArtFormat Property

Returns or sets the WordArt type for the specified text frame. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property WordArtFormat As MsoPresetTextEffect
    Get
    Set
'Usage
Dim instance As TextFrame2
Dim value As MsoPresetTextEffect

value = instance.WordArtFormat

instance.WordArtFormat = value
MsoPresetTextEffect WordArtFormat { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoPresetTextEffect
MsoPresetTextEffect

Remarks

The value of the WordArtFormat property can be one of these [MsoPresetTextEffect#SameCHM] constants.

Examples

This example shows how to set the word art format for shape one on slide one in the active presentation.

Public Sub WordArtFormat_Example()



    Dim pptSlide As Slide

    Set pptSlide = ActivePresentation.Slides(1)

    pptSlide.Shapes(1).TextFrame2.WordArtFormat = msoTextEffect20

    

End Sub

See Also

Reference

TextFrame2 Interface

TextFrame2 Members

Microsoft.Office.Interop.PowerPoint Namespace