FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > CellPadding クラス > CellPadding コンストラクタ : CellPadding コンストラクタ(Int32,Int32,Int32,Int32) |
'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)
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"