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


row
Row index of first row
count
Number of rows for which to set the height
value
Height in pixels

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Sub SetMultipleRowHeights( _
   ByVal row As Integer, _
   ByVal count As Integer, _
   ByVal value As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim count As Integer
Dim value As Integer
 
instance.SetMultipleRowHeights(row, count, value)
C# 
public void SetMultipleRowHeights( 
   int row,
   int count,
   int value
)

Parameters

row
Row index of first row
count
Number of rows for which to set the height
value
Height in pixels

Example

This example sets the height in pixels for the specified rows.
C#Copy Code
fpSpread1.ActiveSheet.SetMultipleRowHeights(0, 2, 80);
Visual BasicCopy Code
FpSpread1.ActiveSheet.SetMultipleRowHeights(0, 2, 80)

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.