Skip to main content

Метод Cell.getRowIndex

Метод возвращает индекс текущей строки. Индексация строк начинается с нуля.

Вызов​


public uint getRowIndex()

Пример​


Table sheet = document.getBlocks().getTable(0);
Cell cell = sheet.getCell("A3");
Console.WriteLine(cell.getColumnIndex()); // 0
Console.WriteLine(cell.getRowIndex()); // 2