WebCells.SetBorders
WebCells.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#]
GridWeb1.WebWorksheets[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 WebCells
- namespace Aspose.Cells.GridWeb.Data
- assembly Aspose.Cells.GridWeb