## GridCells.SetBorders method

Legt Rahmen für einen Zellbereich fest.

```csharp
public void SetBorders(int firstRow, int firstColumn, int rowNumber, int columnNumber, 
    SetBorderPosition position, WebBorderStyle borderStyle)
```

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| firstRow | Int32 | Die erste Zeilennummer des Bereichs (nullbasiert). |
| firstColumn | Int32 | Die erste Spaltennummer des Bereichs (nullbasiert). |
| rowNumber | Int32 | Die Zeilennummer. |
| columnNumber | Int32 | Die Spaltennummer. |
| position | SetBorderPosition | Die Grenzstellung. |
| borderStyle | WebBorderStyle | Der Rahmenstil. |

### Beispiele

```csharp
[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)
```

### Siehe auch

* enum [SetBorderPosition](../../../aspose.cells.gridweb/setborderposition)
* class [WebBorderStyle](../../../aspose.cells.gridweb/webborderstyle)
* class [GridCells](../../gridcells)
* namensraum [Aspose.Cells.GridWeb.Data](../../gridcells)
* Montage [Aspose.Cells.GridWeb](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridWeb.dll -->
