Spread Windows Forms 12.0 Product Documentation
Bottom Property (CellPadding)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > CellPadding Class : Bottom Property
Gets or sets the padding, in pixels, for the bottom edge.
Public Property Bottom As Integer
Dim instance As CellPadding
Dim value As Integer
instance.Bottom = value
value = instance.Bottom
public int Bottom {get; set;}
This example sets the Bottom property.
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)
See Also


CellPadding Class
CellPadding Members