Spread Windows Forms 11.0 Product Documentation
Right Property (CellPadding)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > CellPadding Class : Right Property
Gets or sets the padding, in pixels, for the right edge.
Syntax
'Declaration
 
Public Property Right As Integer
'Usage
 
Dim instance As CellPadding
Dim value As Integer
 
instance.Right = value
 
value = instance.Right
public int Right {get; set;}
Example
This example sets the Right 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

Reference

CellPadding Class
CellPadding Members