Format related procedures in class TextFrame2 (PowerPoint VBA)

This page presents procedures from class TextFrame2 related to the theme Format: PathFormat, WarpFormat and WordArtFormat

PathFormat

Returns or sets the path type for the specified text frame.

The value of the PathFormat property can be one of these MsoPathType constants. The value msoPathTypeMixed cannot be set. Setting the value msoPathTypeNone removes any existing path.

ActiveWindow.RangeFromPoint.TextFrame2.PathFormat = msoPathTypeMixed

WarpFormat

Returns or sets the warp format (how the text is warped) for the specified text frame.

The value of the WarpFormat property can be one of the MsoWarpFormat constants.

ActivePresentation.Slides(1).Shapes(1).TextFrame2.WarpFormat = msoWarpFormatMixed

WordArtFormat

Returns or sets the WordArt type for the specified text frame.

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

ActivePresentation.Slides(1).Shapes(1).TextFrame2.WordArtFormat = msoTextEffectMixed