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