officefileapi-devexpress-dot-spreadsheet-dot-shapetextrange-ee16f529.md
Returns an array of all paragraphs that compose a shape’s text.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
ShapeTextRange[] GetParagraphs()
Function GetParagraphs As ShapeTextRange()
| Type | Description |
|---|---|
| ShapeTextRange[] |
A DevExpress.Spreadsheet.ShapeTextRange[] object that is an array of paragraph ranges.
|
The shape text can contain multiple paragraphs divided by a line break or paragraph mark. The ShapeTextRange.IsMixedParagraph property determines whether the shape text contains multiple paragraphs with mixed properties.
Use the GetParagraphs method to get all shape text paragraphs. Each paragraph is represented by a ShapeTextRange object.
Use the ShapeTextRange.ParagraphFormat property to specify the retrieved range’s paragraph properties (alignment, indentation, etc.).
Call the ShapeTextRange.Delete method to remove a paragraph range.
See Also