GrapeCity.Xaml.SpreadSheet.Data
GetRowHeight(Int32,SheetArea) Method
Example 


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

Parameters

row
The row index.
sheetArea
The sheet area.

Return Value

Returns the row height in the specified units.
Example
This example uses the GetRowHeight method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowHeight(0).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowHeight(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowLabel(0).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowLabel(1, 0).ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowHeight(0).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowHeight(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowLabel(0).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowLabel(1, 0).ToString())
See Also

Reference

Worksheet Class
Worksheet Members
Overload List