Table of contents
TOC
Collapse the table of content
Expand the table of content

TextFrame2.WordArtFormat Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. WordArtFormat

expression An expression that returns a TextFrame2 object.

Return Value

MsoPresetTextEffect

Remarks

The value of the WordArtFormat property can be one of these MsoPresetTextEffect constants.

Example

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

Concepts

TextFrame2 Object

© 2018 Microsoft