GrapeCity SPREAD for Windows Forms 11.0J
Column プロパティ (Cell)


このセルを含む列を取得します。
構文
'Declaration
 
Public ReadOnly Property Column As Column
'使用法
 
Dim instance As Cell
Dim value As Column
 
value = instance.Column
public Column Column {get;}

プロパティ値

セルの列を含むColumnオブジェクト
解説

このプロパティが使用できるのは実行時のみです。

次のサンプルコードでは、このメンバを使用して、セルの列の幅を返しています。
FarPoint.Win.Spread.Cell acell;
float cw;
acell = fpSpread1.ActiveSheet.Cells[0, 0];
cw = acell.Column.Width;
acell.Text = cw.ToString();
Dim acell As FarPoint.Win.Spread.Cell
Dim size As Single
acell = FpSpread1.ActiveSheet.Cells(0, 0)
size = acell.Column.Width
acell.Text = size
参照

Cell クラス
Cell メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.