Style
Style style = _WorkBook.Styles.Add("MyStyle"); style.HorizontalAlignment = XlHAlign.xlHAlignCenter; style.VerticalAlignment = XlVAlign.xlVAlignCenter; xlsheet.Cells[1, 1].Style = style;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)