Item
Contenuti
[
Nascondere
]Cells indexer (1 of 2)
Ottiene ilCell
elemento in corrispondenza dell’indice di riga della cella e dell’indice di colonna specificati.
public Cell this[int row, int column] { get; }
Parametro | Descrizione |
---|---|
row | Indice di riga. |
column | Indice di colonna. |
Valore di ritorno
IlCell
oggetto.
Esempi
[C#]
Workbook excel = new Workbook();
Cells cells = excel.Worksheets[0].Cells;
Cell cell = cells[0, 0]; //Ottiene la cella in "A1"
[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"
Guarda anche
- class Cell
- class Cells
- spazio dei nomi Aspose.Cells
- assemblea Aspose.Cells
Cells indexer (2 of 2)
Ottiene ilCell
elemento nel nome della cella specificato.
public Cell this[string cellName] { get; }
Parametro | Descrizione |
---|---|
cellName | Nome della cella, inclusa la lettera della colonna e il numero di riga, ad esempio A5. |
Valore di ritorno
UNCell
oggetto
Esempi
[C#]
Workbook excel = new Workbook();
Cells cells = excel.Worksheets[0].Cells;
Cell cell = cells["A1"]; //Ottiene la cella in "A1"
[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"
Guarda anche
- class Cell
- class Cells
- spazio dei nomi Aspose.Cells
- assemblea Aspose.Cells