[]
Specifies the horizontal alignment of a cell or object.
public enum HorizontalAlignment
Center = 2Spedifies that the text should be centered.
CenterContinuous = 6Specifies that the horizontal alignment is centered across multiple cells. The information about how many cells to span is expressed in the sheet part, in the row of the cell in question. For each cell that is spanned in the alignment, a cell element needs to be written out, with the same style Id which references the centerContinuous alignment.
Distributed = 7Specifies that text should wrap and be aligned to form straight edges on the left and right, including the last line.
Fill = 4Specifies that the text will be repeated to fill the cell.
General = 0Specifies that text is left justified, numbers (including dates and times) are right justified, and logical values are centered.
Justify = 5Specifies that text should wrap and be aligned to form straight edges on the left and right, except for the last line which is left justified.
Left = 1Spedifies left justification.
Right = 3Spedifies right justification.