1
Vote

Column width cannot be set

description

I am attempting to size the width of columns as displayed in the example below. The do not always adhere to the width selected. Originally I thought this issue began with trying to set the column widths of upwards to 20 columns, but I have found that even ten columns will show my issue. Am I setting the column widths incorrectly?
                ws.Column(1).Width = 10.43;
                ws.Column(2).Width = 9.57;
                ws.Column(3).Width = 8.71;
                ws.Column(4).Width = 8.57;

comments