GrapeCity.Xaml.SpreadSheet.UI
AutoFitRow(Int32) Method
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class > AutoFitRow Method : AutoFitRow(Int32) Method
The row index.
Automatically fits the viewport row.
Syntax
'Declaration
 
Public Overloads Sub AutoFitRow( _
   ByVal row As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
 
instance.AutoFitRow(row)
public void AutoFitRow( 
   int row
)

Parameters

row
The row index.
Example
This example uses the AutoFitRow method.
GcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "test";
GcSpreadSheet1.View.AutoFitRow(0, false);
//GcSpreadSheet1.View.AutoFitRow(0);
GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "test"
GcSpreadSheet1.View.AutoFitRow(0, False)
'GcSpreadSheet1.View.AutoFitRow(0)
See Also

Reference

SheetView Class
SheetView Members
Overload List