var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea); var value; // Type: any value = instance.setBorder(border, option);
function setBorder( border : LineBorder, option : Object ) : any;
Parameters
- border
- The border line.
- option
For example, {all:true}, {left:true, right:true}. The following settings are available:
option.all boolean type Specifies all directions for the border. option.left boolean type Specifies the left border. option.top boolean type Specifies the top border. option.right boolean type Specifies the right border. option.bottom boolean type Specifies the bottom border. option.outline boolean type Specifies the left, top, right, and bottom borders. option.inside boolean type Specifies the inner horizontal and vertical borders. option.innerHorizontal boolean type Specifies the horizontal border. option.innerVertical boolean type Specifies the vertical border.