Spread Windows Forms 6.0 Product Documentation
SetRowHeight Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SetRowHeight Method


row
Row index
value
Height in pixels

Glossary Item Box

Sets the height in pixels for the specified row on this sheet.

Syntax

Visual Basic (Declaration) 
Public Sub SetRowHeight( _
   ByVal row As Integer, _
   ByVal value As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim value As Integer
 
instance.SetRowHeight(row, value)
C# 
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.
C#Copy Code
int i;
fpSpread1.ActiveSheet.SetRowHeight(0, 80);
i = fpSpread1.ActiveSheet.GetRowHeight(0);
listBox1.Items.Add(i.ToString());
Visual BasicCopy Code
Dim i As Integer
FpSpread1.ActiveSheet.SetRowHeight(0, 80)
i = FpSpread1.ActiveSheet.GetRowHeight(0)
ListBox1.Items.Add(i.ToString())

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.