Поделиться через


TextFrame2.WordArtformat Property (Office)

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

Version Information

Version Added: Office 2010

Syntax

expression .WordArtformat

expression An expression that returns a TextFrame2 object.

Remarks

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

Example

The following code shows how to set the word art format for shape one on slide one in the active presentation.

Dim pptSlide As Slide 
Set pptSlide = ActivePresentation.Slides(1) 
pptSlide.Shapes(1).TextFrame2.WordArtFormat = msoTextEffect20 

See Also

Concepts

TextFrame2 Object

TextFrame2 Object Members