officefileapi-devexpress-dot-spreadsheet-dot-shapetextparagraphformat.md
Gets or sets the alignment of a shape text paragraph.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
ShapeTextParagraphAlignment Alignment { get; set; }
Property Alignment As ShapeTextParagraphAlignment
| Type | Description |
|---|---|
| ShapeTextParagraphAlignment |
One of the ShapeTextParagraphAlignment enumeration values indicating the paragraph alignment.
|
Available values:
| Name | Description |
|---|---|
| Left |
Specifies a left-aligned paragraph.
| | Center |
Specifies a center-aligned paragraph.
| | Right |
Specifies a right-aligned paragraph.
| | Justified |
Specifies a fully justified paragraph.
| | JustifiedLow |
Specifies that a paragraph uses the small length kashida for Arabic text. For other languages, paragraph text is justified with a low character compression ratio.
| | Distributed |
Specifies that paragraph characters are distributed to fill the entire paragraph width.
| | ThaiDistributed |
Specifies that paragraph text is justified using Thai distributed justification for the Thai language.
|
The Alignment property specifies the alignment for a current shape text range only. Use the ShapeText.VerticalAnchor and ShapeText.HorizontalAnchor properties to define the alignment of a whole shape text.
See Also
ShapeTextParagraphFormat Interface