![Collapse image](collapse_all.gif)
![Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
Set the column width from the content.
Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine.
Wraped and merged cells are also ignored.
Namespace:
OfficeOpenXml
Assembly:
EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
C# |
---|
public void AutoFit( double MinimumWidth ) |
Visual Basic (Declaration) |
---|
Public Sub AutoFit ( _ MinimumWidth As Double _ ) |
Visual C++ |
---|
public: void AutoFit( double MinimumWidth ) |
Parameters
- MinimumWidth
- Type: System..::.Double
Minimum column width