Spread ASP.NET 6.0 Product Documentation
GetColumnSizeable Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetColumnSizeable Method


column
Column index

Glossary Item Box

Gets whether the user can resize a specified column.

Syntax

Visual Basic (Declaration) 
Public Function GetColumnSizeable( _
   ByVal column As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim column As Integer
Dim value As Boolean
 
value = instance.GetColumnSizeable(column)
C# 
public bool GetColumnSizeable( 
   int column
)

Parameters

column
Column index

Return Value

true if users can resize the column; otherwise false

Remarks

This method returns true if the user can resize the specified column.

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

To specify whether users can resize a specified row, use the SetRowSizeable method.

Example

This example creates a SheetView object and a Column object. The second column cannot be resized and this value is returned to a list box using the SheetView object.
C#Copy Code
FarPoint.Web.Spread.Columnmycol;
FarPoint.Web.Spread.SheetViewsv;
sv=FpSpread1.ActiveSheetView;
mycol=sv.Columns[1];
mycol.Resizable=False;
ListBox1.Items.Add(Convert.ToString(sv.GetColumnSizeable(1)));
Visual BasicCopy Code
DimmycolAsFarPoint.Web.Spread.Column
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
mycol=sv.Columns(1)
mycol.Resizable=False
ListBox1.Items.Add(sv.GetColumnSizeable(1))

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.