Spread ASP.NET 6.0 Product Documentation
Column Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Cell Class : Column Property


Glossary Item Box

Gets the column that contains this cell.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Column As Column
Visual Basic (Usage)Copy Code
Dim instance As Cell
Dim value As Column
 
value = instance.Column
C# 
public Column Column {get;}

Property Value

Column object for the column containing this cell

Example

This example creates a Cell object and returns the Column objects width to a text box.
C#Copy Code
FarPoint.Web.Spread.Cellmycell;
mycell=FpSpread1.Cells[0,0];
intw;
w=mycell.Column.Width;
TextBox1.Text=Convert.ToString(w);
Visual BasicCopy Code
DimmycellAsFarPoint.Web.Spread.Cell
mycell=FpSpread1.Cells(0,0)
DimwAsInteger
w=mycell.Column.Width
TextBox1.Text=w

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.