Skip to main content
Row

ShapeTextRange Members

Represents a text range within a shape.

Properties

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