Item
İçindekiler
[
Saklamak
]Cells indexer (1 of 2)
Cell
belirtilen hücre satırı dizini ve sütun dizinindeki öğe.
public Cell this[int row, int column] { get; }
Parametre | Tanım |
---|---|
row | Satır indeksi. |
column | Sütun indeksi. |
Geri dönüş değeri
buCell
nesne.
Örnekler
[C#]
Workbook excel = new Workbook();
Cells cells = excel.Worksheets[0].Cells;
Cell cell = cells[0, 0]; // "A1"deki hücreyi alır
[Visual Basic]
Dim excel as Workbook = New Workbook()
Dim cells As Cells = excel.Worksheets(0).Cells
Dim cell As Cell = cells(0,0) 'Gets the cell at "A1"
Ayrıca bakınız
- class Cell
- class Cells
- ad alanı Aspose.Cells
- toplantı Aspose.Cells
Cells indexer (2 of 2)
Cell
belirtilen hücre adındaki öğe.
public Cell this[string cellName] { get; }
Parametre | Tanım |
---|---|
cellName | Sütun harfi ve satır numarası dahil hücre adı, örneğin A5. |
Geri dönüş değeri
ACell
nesne
Örnekler
[C#]
Workbook excel = new Workbook();
Cells cells = excel.Worksheets[0].Cells;
Cell cell = cells["A1"]; // "A1"deki hücreyi alır
[Visual Basic]
Dim excel as Workbook = New Workbook()
Dim cells As Cells = excel.Worksheets(0).Cells
Dim cell As Cell = cells("A1") 'Gets the cell at "A1"
Ayrıca bakınız
- class Cell
- class Cells
- ad alanı Aspose.Cells
- toplantı Aspose.Cells