[]
Gets or sets the horizontal alignment for this style.
Use this property to define or retrieve how content is aligned horizontally when the style is applied.
HorizontalAlignment HorizontalAlignment { get; set; }
Property HorizontalAlignment As HorizontalAlignment
IStyle style = workbook.Styles.Add("centerStyle");
style.HorizontalAlignment = HorizontalAlignment.Center;
worksheet.Range["A1"].Style = style;
HorizontalAlignment alignment = style.HorizontalAlignment;