Back to Devexpress

ShapeTextRange.AddAfter(String) Method

officefileapi-devexpress-dot-spreadsheet-dot-shapetextrange-dot-addafter-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

ShapeTextRange.AddAfter(String) Method

Inserts a new text range after the current ShapeTextRange object.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
ShapeTextRange AddAfter(
    string text
)
vb
Function AddAfter(
    text As String
) As ShapeTextRange

Parameters

NameTypeDescription
textString

A string value that is the range’s content.

|

Returns

TypeDescription
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

ShapeTextRange Interface

ShapeTextRange Members

DevExpress.Spreadsheet Namespace