ExpertXls Excel Library for .NET
AutofitRow Method (rowIndex)
Namespaces ► ExpertXls.ExcelLib ► ExcelWorksheet ► AutofitRow(Int32)
ExpertXls Excel Library for .NET
Changes the height of the specified row to achieve the best fit for the cells content.
Declaration Syntax

C# | Visual Basic | Visual C++

    public void AutofitRow(
    	int rowIndex
    )

    Public Sub AutofitRow ( _
    	rowIndex As Integer _
    )

    public:
    void AutofitRow(
    	int rowIndex
    )

Parameters

rowIndex (Int32)
  The one based index of the row to autofit.

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