Spread WPF Documentation
GetActualRowHeight(Int32,SheetArea) Method
Example 


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

Parameters

row
The row index.
sheetArea
The sheet area.

Return Value

Returns the row height in pixels.
Example
This example uses the GetActualRowHeight method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualColumnWidth(1, GrapeCity.Windows.SpreadSheet.Data.SheetArea.ColumnHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualColumnWidth(2, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.ColumnHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualRowHeight(2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualRowHeight(5, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualRowVisible(11,GrapeCity.Windows.SpreadSheet.Data.SheetArea.RowHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualColumnWidth(1, GrapeCity.Windows.SpreadSheet.Data.SheetArea.ColumnHeader).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualColumnWidth(2, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.ColumnHeader).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualRowHeight(2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualRowHeight(5, 2, GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualRowVisible(11,GrapeCity.Windows.SpreadSheet.Data.SheetArea.RowHeader).ToString())
See Also

Reference

Worksheet Class
Worksheet Members
Overload List