AutoFitColumns Method

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.
(Inherited from ExcelRangeBase.)
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.
(Inherited from ExcelRangeBase.)

See Also