GridCells.SetBorders
GridCells.SetBorders method
Sets borders for a cells range.
public void SetBorders(int firstRow, int firstColumn, int rowNumber, int columnNumber,
SetBorderPosition position, WebBorderStyle borderStyle)
Parameter | Type | Description |
---|---|---|
firstRow | Int32 | The first row number of the range(zero based). |
firstColumn | Int32 | The first column number of the range(zero based). |
rowNumber | Int32 | The rows number. |
columnNumber | Int32 | The columns number. |
position | SetBorderPosition | The border position. |
borderStyle | WebBorderStyle | The border style. |
Examples
[C#]
GridWeb GridWeb1 = new GridWeb();
WebBorderStyle borderStyle1 = new WebBorderStyle();
GridWeb1.WorkSheets[0].Cells.SetBorders(0, 0, 5, 8, SetBorderPosition.Outline, borderStyle1);
[VB]
GridWeb1.WebWorksheets(0).Cells.SetBorders(0, 0, 5, 8, SetBorderPosition.Outline, borderStyle1)
See Also
- enum SetBorderPosition
- class WebBorderStyle
- class GridCells
- namespace Aspose.Cells.GridWeb.Data
- assembly Aspose.Cells.GridWeb