Hi,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Also, the better approach to hide rows/columns in bulk is to set Cells. StandardWidth and Cells. StandardHeight.<?xml:namespace prefix = u1 /> This way we will not create many rows or columns objects in the memory and it will improve performance.
Workbook workbook = new Workbook();
Cells cells = workbook.Worksheets[0].Cells;
cells.StandardWidth = 0;
cells.StandardHeight = 0;
for (int i = 0; i < 6; i++)
{
cells.SetColumnWidth(i, 8.43);
}
for (int i = 0; i < 17; i++)
{
cells.SetRowHeight(i, 12.75);
}
workbook.Save(@"F:\FileTemp\dest.xlsx");
Also, we will look into your requested feature of hiding multiple rows & columns.
Thank You & Best Regards,