GrapeCity SPREAD for Windows Forms 12.0J
CellPadding コンストラクタ(Int32,Int32,Int32,Int32)


左側のパディング値(ピクセル単位)。
上側のパディング値(ピクセル単位)。
右側のパディング値(ピクセル単位)。
下側のパディング値(ピクセル単位)。
CellPadding クラスの新しいインスタンスを初期化します。
構文
'Declaration
 
Public Function New( _
   ByVal left As Integer, _
   ByVal top As Integer, _
   ByVal right As Integer, _
   ByVal bottom As Integer _
)
'使用法
 
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
 
Dim instance As New CellPadding(left, top, right, bottom)
public CellPadding( 
   int left,
   int top,
   int right,
   int bottom
)

パラメータ

left
左側のパディング値(ピクセル単位)。
top
上側のパディング値(ピクセル単位)。
right
右側のパディング値(ピクセル単位)。
bottom
下側のパディング値(ピクセル単位)。
次のサンプルコードは、セルのパディングを設定します。
FarPoint.Win.Spread.CellPadding test = new FarPoint.Win.Spread.CellPadding(2, 2, 2, 2);
fpSpread1.Sheets[0].Cells[0, 0].CellPadding = test;
fpSpread1.Sheets[0].Cells[0, 0].Text = "test";
Dim test As FarPoint.Win.Spread.CellPadding
test = New FarPoint.Win.Spread.CellPadding(2, 2, 2, 2)
FpSpread1.Sheets(0).Cells(0, 0).CellPadding = test
FpSpread1.Sheets(0).Cells(0, 0).Text = "test"
参照

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

 

 


Copyright © 2004 GrapeCity inc.