PowerTools SPREAD for Windows Forms 8.0J
PercentCellType コンストラクタ()


新しいパーセント型セルをデフォルトの設定で作成します。
構文
'Declaration
 
Public Function New()
'使用法
 
Dim instance As New PercentCellType()
public PercentCellType()
次のサンプルコードは、この型のセルを作成し、このセル型のプロパティを設定して、このセル型をセルに割り当てます。
FarPoint.Win.Spread.CellType.PercentCellType prctcell = new FarPoint.Win.Spread.CellType.PercentCellType();
object o;
o = "200";
prctcell.Format(o);
prctcell.PositiveFormat = FarPoint.Win.Spread.CellType.PercentPositiveFormat.PercentBefore;
prctcell.PercentSign = "PRCNT";
fpSpread1.ActiveSheet.Cells[0, 0].CellType = prctcell;
fpSpread1.ActiveSheet.Cells[0, 0].Value = o;
Dim prctcell As New FarPoint.Win.Spread.CellType.PercentCellType()
Dim o As Object
o = "200"
prctcell.Format(o)
prctcell.PercentSign = "PRCNT"
prctcell.PositiveFormat = FarPoint.Win.Spread.CellType.PercentPositiveFormat.PercentBefore
FpSpread1.ActiveSheet.Cells(0, 0).CellType = prctcell
FpSpread1.ActiveSheet.Cells(0, 0).Value = o
参照

PercentCellType クラス
PercentCellType メンバ
オーバーロード一覧

 

 


© 2004-2015, GrapeCity inc. All rights reserved.