Spread Windows Forms 10.0 Product Documentation
SetRowHeight Method
Example 


Row index
Height in pixels
Sets the height in pixels for the specified row on this sheet.
Syntax
'Declaration
 
Public Sub SetRowHeight( _
   ByVal row As Integer, _
   ByVal value As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim value As Integer
 
instance.SetRowHeight(row, value)
public void SetRowHeight( 
   int row,
   int value
)

Parameters

row
Row index
value
Height in pixels
Example
This example illustrates the use of this member by returning the height for the specified row.
int i;
fpSpread1.ActiveSheet.SetRowHeight(0, 80);
i = fpSpread1.ActiveSheet.GetRowHeight(0);
listBox1.Items.Add(i.ToString());
Dim i As Integer
FpSpread1.ActiveSheet.SetRowHeight(0, 80)
i = FpSpread1.ActiveSheet.GetRowHeight(0)
ListBox1.Items.Add(i.ToString())
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members
SetMultipleRowHeights Method

User-Task Documentation

Setting the Row Height or Column Width

 

 


Copyright © GrapeCity, inc. All rights reserved.