Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SetInsideBorder Method
Cell range to which to apply borders
Border to put around cells in the range

In This Topic
    SetInsideBorder Method
    In This Topic
    Sets borders on the inside of a range of cells.
    Public Overridable Sub SetInsideBorder( _
       ByVal cr As CellRange, _
       ByVal border As IBorder _
    Dim instance As SheetView
    Dim cr As CellRange
    Dim border As IBorder
    instance.SetInsideBorder(cr, border)
    public virtual void SetInsideBorder( 
       CellRange cr,
       IBorder border


    Cell range to which to apply borders
    Border to put around cells in the range
    This method sets grid line type borders around the cells inside a range, except for the outside (or outline) of the range. To apply borders to the outside of a range of cells, refer to the SetOutlineBorder method.
    This example uses the SetInsideBorder method.
    fpSpread1.Sheets[0].SetInsideBorder(new FarPoint.Win.Spread.Model.CellRange(0, 0, 2, 2), new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Raised));
    fpSpread1.Sheets(0).SetInsideBorder(New FarPoint.Win.Spread.Model.CellRange(0, 0, 2, 2), New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Raised))
    See Also