public void SetColumnWidth(int x, string px) { double width = PFDataHelper.WebWidthToExcel(px).Value; sheet.Cells.SetColumnWidth(x, width); //sheet.Cells.SetColumnWidth(x, width); }
public void SetRowHeight(int y, string px) { double height = PFDataHelper.WebWidthToExcel(px).Value; sheet.Cells.SetRowHeight(y, height); }