TextPath class

TextPath class

Defines the text and formatting of the text path (of a WordArt object). To learn more, visit the Working with Shapes documentation article.

Remarks

Use the Shape.textPath property to access WordArt properties of a shape. You do not create instances of the TextPath class directly.

Properties

NameDescription
boldTrue if the font is formatted as bold.
fitPathDefines whether the text fits the path of a shape.
fitShapeDefines whether the text fits bounding box of a shape.
fontFamilyDefines the family of the textpath font.
italicTrue if the font is formatted as italic.
kerningDetermines whether kerning is turned on.
onDefines whether the text is displayed.
reverseRowsDetermines whether the layout order of rows is reversed.
rotateLettersDetermines whether the letters of the text are rotated.
sameLetterHeightsDetermines whether all letters will be the same height regardless of initial case.
shadowDefines whether a shadow is applied to the text on a text path.
sizeDefines the size of the font in points.
smallCapsTrue if the font is formatted as small capital letters.
spacingDefines the amount of spacing for text. 1 means 100%.
strikeThroughTrue if the font is formatted as strikethrough text.
textDefines the text of the text path.
textPathAlignmentDefines the alignment of text.
trimDetermines whether extra space is removed above and below the text.
underlineTrue if the font is underlined.
xscaleDetermines whether a straight textpath will be used instead of the shape path.

See Also