'Declaration Public Overridable Sub SetOutlineBorder( _ ByVal cr As CellRange, _ ByVal border As IBorder _ )
Parameters
- cr
- Cell range around which to put outline border
- border
- Border to place around the outside of the range of cells
'Declaration Public Overridable Sub SetOutlineBorder( _ ByVal cr As CellRange, _ ByVal border As IBorder _ )
FarPoint.Win.Spread.Model.CellRange cr = new FarPoint.Win.Spread.Model.CellRange(0, 0, 2, 2); FarPoint.Win.LineBorder b = new FarPoint.Win.LineBorder(Color.Red); fpSpread1.ActiveSheet.SetOutlineBorder(cr, b);
Dim cr As New FarPoint.Win.Spread.Model.CellRange(0, 0, 2, 2) Dim b As New FarPoint.Win.LineBorder(Color.Red) FpSpread1.ActiveSheet.SetOutlineBorder(cr, b)