FarPoint.Web.Spread.Border bord = new FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 2);
bord.BorderStyleTop = BorderStyle.Ridge;
bord.BorderStyleBottom = BorderStyle.Double;
bord.BorderStyleLeft = BorderStyle.Solid;
bord.BorderStyleRight = BorderStyle.Dotted;
FpSpread1.ActiveSheetView.Cells(2, 2).Border = bord;
Dim bord As New FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 2)
bord.BorderStyleTop = BorderStyle.Ridge
bord.BorderStyleBottom = BorderStyle.Double
bord.BorderStyleLeft = BorderStyle.Solid
bord.BorderStyleRight = BorderStyle.Dotted
FpSpread1.ActiveSheetView.Cells(2, 2).Border = bord