Aspose::Words::Drawing::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.

class TextPath : public System::Object

Methods

MethodDescription
get_Bold()True if the font is formatted as bold.
get_FitPath()Defines whether the text fits the path of a shape.
get_FitShape()Defines whether the text fits bounding box of a shape.
get_FontFamily()Defines the family of the textpath font.
get_Italic()True if the font is formatted as italic.
get_Kerning()Determines whether kerning is turned on.
get_On()Defines whether the text is displayed.
get_ReverseRows()Determines whether the layout order of rows is reversed.
get_RotateLetters()Determines whether the letters of the text are rotated.
get_SameLetterHeights()Determines whether all letters will be the same height regardless of initial case.
get_Shadow()Defines whether a shadow is applied to the text on a text path.
get_Size()Defines the size of the font in points.
get_SmallCaps()True if the font is formatted as small capital letters.
get_Spacing()Defines the amount of spacing for text. 1 means 100%.
get_StrikeThrough()True if the font is formatted as strikethrough text.
get_Text()Defines the text of the text path.
get_TextPathAlignment()Defines the alignment of text.
get_Trim()Determines whether extra space is removed above and below the text.
get_Underline()True if the font is underlined.
get_XScale()Determines whether a straight textpath will be used instead of the shape path.
GetType() const override
Is(const System::TypeInfo&) const override
set_Bold(bool)True if the font is formatted as bold.
set_FitPath(bool)Defines whether the text fits the path of a shape.
set_FitShape(bool)Defines whether the text fits bounding box of a shape.
set_FontFamily(const System::String&)Defines the family of the textpath font.
set_Italic(bool)True if the font is formatted as italic.
set_Kerning(bool)Determines whether kerning is turned on.
set_On(bool)Defines whether the text is displayed.
set_ReverseRows(bool)Setter for Aspose::Words::Drawing::TextPath::get_ReverseRows.
set_RotateLetters(bool)Determines whether the letters of the text are rotated.
set_SameLetterHeights(bool)Determines whether all letters will be the same height regardless of initial case.
set_Shadow(bool)Defines whether a shadow is applied to the text on a text path.
set_Size(double)Defines the size of the font in points.
set_SmallCaps(bool)True if the font is formatted as small capital letters.
set_Spacing(double)Defines the amount of spacing for text. 1 means 100%.
set_StrikeThrough(bool)True if the font is formatted as strikethrough text.
set_Text(const System::String&)Defines the text of the text path.
set_TextPathAlignment(Aspose::Words::Drawing::TextPathAlignment)Defines the alignment of text.
set_Trim(bool)Determines whether extra space is removed above and below the text.
set_Underline(bool)True if the font is underlined.
set_XScale(bool)Setter for Aspose::Words::Drawing::TextPath::get_XScale.
static Type()

Remarks

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

See Also