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


The row index.
The flag indicates whether sheetArea is a column header.
Automatically fits the viewport row.
Syntax
'Declaration
 
Public Overloads Sub AutoFitRow( _
   ByVal row As Integer, _
   ByVal isColumnHeader As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim isColumnHeader As Boolean
 
instance.AutoFitRow(row, isColumnHeader)
public void AutoFitRow( 
   int row,
   bool isColumnHeader
)

Parameters

row
The row index.
isColumnHeader
The flag indicates whether sheetArea is a column header.
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 Server 2012, Windows RT

See Also

Reference

SheetView Class
SheetView Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options