Spread for ASP.NET 7.0 Product Documentation
Column Property
See Also  Example Support Options
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.Cell mycell;
mycell = FpSpread1.Cells[0,0];
int w;
w=mycell.Column.Width;
TextBox1.Text=Convert.ToString(w);
Visual BasicCopy Code
Dim mycell As FarPoint.Web.Spread.Cell
mycell=FpSpread1.Cells(0,0)
Dim w As Integer
w=mycell.Column.Width
TextBox1.Text=w

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.