This is my code to width cell

worksheet.Cells.ColumnWidth[(ushort)0] = 2000;
worksheet.Cells.ColumnWidth[(ushort)1] = spaceColWidth;
worksheet.Cells.ColumnWidth[(ushort)2] = 2000;
worksheet.Cells.ColumnWidth[(ushort)3] = spaceColWidth;
worksheet.Cells.ColumnWidth[(ushort)4] = 2000;
worksheet.Cells.ColumnWidth[(ushort)5] = spaceColWidth;
worksheet.Cells.ColumnWidth[(ushort)6] = 2000;

it's work fine and then i want to set page property like

worksheet.pagesetup.marginleft = ...

anyone can help me?

Related posts

Recent Viewed