TextPath
Overview
TextPath is a class in Aspose.Words FOSS for .NET.
Defines the text and formatting of the text path (of a WordArt object).
Properties: Bold, FitPath, FitShape, FontFamily, Italic, Kerning, and 14 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
On | bool | Read/Write | Defines whether the text is displayed. |
FitPath | bool | Read/Write | Defines whether the text fits the path of a shape. |
FitShape | bool | Read/Write | Defines whether the text fits bounding box of a shape. |
FontFamily | string | Read/Write | Defines the family of the textpath font. |
Size | double | Read/Write | Defines the size of the font in points. |
Bold | bool | Read/Write | True if the font is formatted as bold. |
Italic | bool | Read/Write | True if the font is formatted as italic. |
SmallCaps | bool | Read/Write | True if the font is formatted as small capital letters. |
RotateLetters | bool | Read/Write | Determines whether the letters of the text are rotated. |
Trim | bool | Read/Write | Determines whether extra space is removed above and below the text. |
Kerning | bool | Read/Write | Determines whether kerning is turned on. |
Shadow | bool | Read/Write | Defines whether a shadow is applied to the text on a text path. |
Underline | bool | Read/Write | True if the font is underlined. |
StrikeThrough | bool | Read/Write | True if the font is formatted as strikethrough text. |
SameLetterHeights | bool | Read/Write | Determines whether all letters will be the same height regardless of initial case. |
Text | string | Read/Write | Defines the text of the text path. |
TextPathAlignment | TextPathAlignment | Read/Write | Defines the alignment of text. |
ReverseRows | bool | Read/Write | Determines whether the layout order of rows is reversed. |
Spacing | double | Read/Write | Defines the amount of spacing for text. |
XScale | bool | Read/Write | Determines whether a straight textpath will be used instead of the shape path. |