Spread Windows Forms 6.0 Product Documentation
SetRowSizeable Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.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 on this sheet.

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

Example

This example illustrates the use of this member by returning whether the specified row can be resized.
C#Copy Code
bool b;
fpSpread1.ActiveSheet.SetRowSizeable(0, false);
b = fpSpread1.ActiveSheet.GetRowSizeable(0);
label1.Text = "GetRowSizeable for row 0 = " + b.ToString() + " - Try to resize the first row.";
Visual BasicCopy Code
Dim b As Boolean
FpSpread1.ActiveSheet.SetRowSizeable(0, False)
b = FpSpread1.ActiveSheet.GetRowSizeable(0)
Label1.Text = "GetRowSizeable for Row 0 = " & b.ToString() & " - Try to resize the first row."

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.