Spread WPF Documentation
AutoFitRow(Int32) Method
Example 


The row index.
Automatically fits the viewport row.
Syntax
'Declaration
 
Public Overloads Sub AutoFitRow( _
   ByVal row As System.Integer _
) 
'Usage
 
Dim instance As SheetView
Dim row As System.Integer
 
instance.AutoFitRow(row)
public void AutoFitRow( 
   System.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)
Requirements

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)

See Also

Reference

SheetView Class
SheetView Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.