Spread for ASP.NET 7.0 Product Documentation
SetRowVisible Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : SetRowVisible Method


row
Row index
visible
Whether to display the row

Glossary Item Box

Sets whether a row is displayed.

Syntax

Visual Basic (Declaration) 
Public Sub SetRowVisible( _
   ByVal row As Integer, _
   ByVal visible As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim visible As Boolean
 
instance.SetRowVisible(row, visible)
C# 
public void SetRowVisible( 
   int row,
   bool visible
)

Parameters

row
Row index
visible
Whether to display the row

Remarks

Set to True to display the row. Set to False to hide the row.

To get whether a row is displayed, use the GetRowVisible method.

To specify whether a column is displayed, use the SetColumnVisible method.

Example

This example illustrates the use of this member by setting whether the specified row is visible.
C#Copy Code
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.SetRowVisible(1, false);
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.SetRowVisible(1, False)

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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