AutoFitColumns Method

From Office Open XML

Overload List

  NameDescription
AutoFitColumns()()()
Set the column width from the content of the range. The minimum width is the value of the ExcelWorksheet.defaultColumnWidth property. Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine. Wraped and merged cells are also ignored.
AutoFitColumns(Double)
Set the column width from the content of the range. Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine. Wraped and merged cells are also ignored.

See Also