Spread Windows Forms 9.0 Product Documentation
SetInsideBorder Method
Example 


Cell range to which to apply borders
Border to put around cells in the range
Sets borders on the inside of a range of cells.
Syntax
'Declaration
 
Public Overridable Sub SetInsideBorder( _
   ByVal cr As CellRange, _
   ByVal border As IBorder _
) 
'Usage
 
Dim instance As SheetView
Dim cr As CellRange
Dim border As IBorder
 
instance.SetInsideBorder(cr, border)
public virtual void SetInsideBorder( 
   CellRange cr,
   IBorder border
)

Parameters

cr
Cell range to which to apply borders
border
Border to put around cells in the range
Remarks
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.
Example
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))
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members
SetOutlineBorder Method

User-Task Documentation

Customizing Cell Borders

 

 


Copyright © GrapeCity, inc. All rights reserved.