Defines constants that specify the horizontal alignment of content within a container, such as a cell in a spreadsheet or a text block in a document. Allows developers to precisely control how content is positioned horizontally, enhancing the layout and readability of the content.
lt.Document.SheetEditor.HorizontalAlignment = {general: 0,left: 1,center: 2,right: 3}
| Value | Name | Description |
|---|---|---|
| 0 | general |
The default horizontal alignment. |
| 1 | left |
Aligns content to the left side of the container. |
| 2 | center |
Aligns contents to the horizontal center within the container. |
| 3 | right |
Aligns content to the right side of the container. |