Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShapeTextRange Members

In This Article
Represents a text range within a shape.

#Properties
Show Inherited Hide Inherited

Name Description
Fill Provides access to fill options for the specified drawing object. Inherited from ShapeFormatBase.
Font Provides access to the text range’s font settings.
IsMixedFill Gets a value indicating whether the current range of a shape’s text has different fill settings applied.
IsMixedFont Gets a value indicating whether the current range of a shape’s text has different fonts applied.
IsMixedOutline Gets a value indicating whether the current range of a shape’s text has different outline settings applied.
IsMixedParagraph Gets a value indicating whether the current range of a shape’s text contains multiple paragraphs with mixed properties.
Outline Provides access to the options used to format an outline of the specified drawing object. Inherited from ShapeFormatBase.
ParagraphFormat Provides access to the text range’s paragraph options.
Start Gets the position from which the shape text range starts.
Text Gets or sets the text in a text range.

#Methods

Name Description
AddAfter(String) Inserts a new text range after the current ShapeTextRange object.
AddBefore(String) Inserts a new text range before the current ShapeTextRange object.
Delete() Deletes the current ShapeTextRange object.
GetParagraphs() Returns an array of all paragraphs that compose a shape’s text.
GetRuns() Returns an array of all text runs that compose a shape’s text.
See Also