How to get Excel Columns Range in Epplus and set its Column Width? -


example. how in epplus?

sheet.cells["a1:d1"].column.width = 10; 

in excel interop:

sheet.get_range("a1", "d1").columnwidth = 10; 

and start in specific column. not using ws.cells[range]

 int startcolumn = 3; int endcolumn = 10;  (int = startcolumn; <= endcolumn; a++)     {        sheet.column(a).width = 10;     } 

Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -