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.AddAfter(String) Method

Inserts a new text range after the current ShapeTextRange object.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

ShapeTextRange AddAfter(
    string text
)

#Parameters

Name Type Description
text String

A string value that is the range’s content.

#Returns

Type Description
ShapeTextRange

A ShapeTextRange object that is the new text range.

#Remarks

The font and paragraph properties of a ShapeTextRange object created by the AddAfter method call are equal to the existing text range’s options. Use the ShapeTextRange.Font and ShapeTextRange.ParagraphFormat properties to access the range’s font and paragraph settings.

See Also