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


row
Row index
sizeable
Whether to allow users to resize the row

Glossary Item Box

Sets whether users can resize individual rows.

Syntax

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

Parameters

row
Row index
sizeable
Whether to allow users to resize the row

Remarks

Set to true if you want to allow the user resize the specified row.

To get whether users can resize a row, use the GetRowSizeable method.

To specify whether users can resize a specified column, use the SetColumnSizeable method.

Example

This example illustrates the use of this member by setting the whether the specified row can be resized.
C#Copy Code
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.SetRowSizeable(1, false);
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.SetRowSizeable(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.