PowerTools SPREAD for Windows Forms 8.0J
Right プロパティ (CellPadding)


右側のパディング(ピクセル単位)を取得または設定します。
構文
'Declaration
 
Public Property Right As Integer
'使用法
 
Dim instance As CellPadding
Dim value As Integer
 
instance.Right = value
 
value = instance.Right
public int Right {get; set;}
次のサンプルコードは、Rightプロパティを設定します。
fpSpread1.ActiveSheet.Cells[0, 0].Text = "a";
fpSpread1.ActiveSheet.Cells[0,0].CellPadding.Top = Convert.ToInt16(1);
fpSpread1.ActiveSheet.Cells[0, 0].CellPadding.Left = Convert.ToInt16(3);
fpSpread1.ActiveSheet.Cells[0, 0].CellPadding.Bottom = Convert.ToInt16(1);
fpSpread1.ActiveSheet.Cells[0, 0].CellPadding.Right = Convert.ToInt16(1);
fpSpread1.ActiveSheet.Cells(0, 0).Text = "a"
fpSpread1.ActiveSheet.Cells(0,0).CellPadding.Top = Convert.ToInt16(1)
fpSpread1.ActiveSheet.Cells(0, 0).CellPadding.Left = Convert.ToInt16(3)
fpSpread1.ActiveSheet.Cells(0, 0).CellPadding.Bottom = Convert.ToInt16(1)
fpSpread1.ActiveSheet.Cells(0, 0).CellPadding.Right = Convert.ToInt16(1)
参照

CellPadding クラス
CellPadding メンバ

 

 


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