GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class > AutoFitColumn Method : AutoFitColumn(Int32,Boolean) Method |
'Declaration Public Overloads Sub AutoFitColumn( _ ByVal column As System.Integer, _ ByVal isRowHeader As System.Boolean _ )
'Usage Dim instance As SheetView Dim column As System.Integer Dim isRowHeader As System.Boolean instance.AutoFitColumn(column, isRowHeader)
public void AutoFitColumn( System.int column, System.bool isRowHeader )
GcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "test"; GcSpreadSheet1.View.AutoFitColumn(0, false); //GcSpreadSheet1.View.AutoFitColumn(0);
GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "test" GcSpreadSheet1.View.AutoFitColumn(0, False) 'GcSpreadSheet1.View.AutoFitColumn(0)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)