GrapeCity.Xaml.SpreadSheet.Data
SetRowHeight Method
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : SetRowHeight Method
The row index.
The sheet area.
The height.
Sets the height using the specified unit type for the specified row in the specified sheet area.
Syntax
'Declaration
 
Public Sub SetRowHeight( _
   ByVal row As Integer, _
   ByVal sheetArea As SheetArea, _
   ByVal height As Double _
) 
'Usage
 
Dim instance As Worksheet
Dim row As Integer
Dim sheetArea As SheetArea
Dim height As Double
 
instance.SetRowHeight(row, sheetArea, height)
public void SetRowHeight( 
   int row,
   SheetArea sheetArea,
   double height
)

Parameters

row
The row index.
sheetArea
The sheet area.
height
The height.
Example
This example uses the SetRowHeight method.
gcSpreadSheet1.Sheets[0].SetValue(0, 0, "value");
gcSpreadSheet1.Sheets[0].AddRows(0, 2);
gcSpreadSheet1.Sheets[0].AddColumns(0, 2);
gcSpreadSheet1.Sheets[0].SetRowHeight(0, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, 50d);
gcSpreadSheet1.Sheets[0].SetColumnWidth(0, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, 150d);
gcSpreadSheet1.Sheets[0].Rows[0].Background = new SolidColorBrush(Windows.UI.Colors.Gray);
gcSpreadSheet1.Sheets[0].Columns[0].Background = new SolidColorBrush(Windows.UI.Colors.Brown);
gcSpreadSheet1.Sheets(0).SetValue(0, 0, "value")
gcSpreadSheet1.Sheets(0).AddRows(0, 2)
gcSpreadSheet1.Sheets(0).AddColumns(0, 2)
gcSpreadSheet1.Sheets(0).SetRowHeight(0, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, 50.0)
gcSpreadSheet1.Sheets(0).SetColumnWidth(0, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, 150.0)
gcSpreadSheet1.Sheets(0).Rows(0).Background = New SolidColorBrush(Windows.UI.Colors.Gray)
gcSpreadSheet1.Sheets(0).Columns(0).Background = New SolidColorBrush(Windows.UI.Colors.Brown)
See Also

Reference

Worksheet Class
Worksheet Members