GrapeCity SPREAD for Windows Forms 11.0J
OutputHeight プロパティ


出力領域の高さを取得または設定します。
構文
'Declaration
 
Public Property OutputHeight As Integer
'使用法
 
Dim instance As DropDownCalculatorInfo
Dim value As Integer
 
instance.OutputHeight = value
 
value = instance.OutputHeight
public int OutputHeight {get; set;}

プロパティ値

出力領域の高さを示すSystem.Int32値。
解説
このプロパティの値がゼロの場合、DropDownCalculatorの出力領域の高さは自動的に計算されます。
次のサンプルコードは、OutputHeightプロパティを設定します。
GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType(); 
ncell1.DropDownCalculator.ShowOutput = true;
ncell1.DropDownCalculator.OutputHeight = 25;
fpSpread1.ActiveSheet.Cells[1, 1].CellType = ncell1;
fpSpread1.ActiveSheet.Cells[1, 1].Value = 12.31;
Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
ncell1.DropDownCalculator.ShowOutput = True
ncell1.DropDownCalculator.OutputHeight = 25
FpSpread1.ActiveSheet.Cells(1, 1).CellType = ncell1
FpSpread1.ActiveSheet.Cells(1, 1).Value = 12.31
参照

DropDownCalculatorInfo クラス
DropDownCalculatorInfo メンバ

 

 


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