ExpertXls Excel Library for .NET
AutofitColumns Method
Namespaces ► ExpertXls.ExcelLib ► ExcelRange ► AutofitColumns()()()
ExpertXls Excel Library for .NET
Changes the width of the range columns to achieve the best fit for the cells content.
Declaration Syntax

C# | Visual Basic | Visual C++

    public void AutofitColumns()

    Public Sub AutofitColumns

    public:
    void AutofitColumns()

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)