
## TextPath class

Defines the text and formatting of the text path (of a WordArt object).
To learn more, visit the [Working with Shapes](https://docs.aspose.com/words/nodejs-net/working-with-shapes/) documentation article.




### Remarks

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




### Properties

| Name | Description |
| --- | --- |
| [bold](./bold/) | True if the font is formatted as bold. |
| [fitPath](./fitPath/) | Defines whether the text fits the path of a shape. |
| [fitShape](./fitShape/) | Defines whether the text fits bounding box of a shape. |
| [fontFamily](./fontFamily/) | Defines the family of the textpath font. |
| [italic](./italic/) | True if the font is formatted as italic. |
| [kerning](./kerning/) | Determines whether kerning is turned on. |
| [on](./on/) | Defines whether the text is displayed. |
| [reverseRows](./reverseRows/) | Determines whether the layout order of rows is reversed. |
| [rotateLetters](./rotateLetters/) | Determines whether the letters of the text are rotated. |
| [sameLetterHeights](./sameLetterHeights/) | Determines whether all letters will be the same height regardless of initial case. |
| [shadow](./shadow/) | Defines whether a shadow is applied to the text on a text path. |
| [size](./size/) | Defines the size of the font in points. |
| [smallCaps](./smallCaps/) | True if the font is formatted as small capital letters. |
| [spacing](./spacing/) | Defines the amount of spacing for text. 1 means 100%. |
| [strikeThrough](./strikeThrough/) | True if the font is formatted as strikethrough text. |
| [text](./text/) | Defines the text of the text path. |
| [textPathAlignment](./textPathAlignment/) | Defines the alignment of text. |
| [trim](./trim/) | Determines whether extra space is removed above and below the text. |
| [underline](./underline/) | True if the font is underlined. |
| [xscale](./xscale/) | Determines whether a straight textpath will be used instead of the shape path. |

### See Also

* module [Aspose.Words.Drawing](../)
* property [Shape.textPath](../shape/textPath/)

