getRowHeight method

double getRowHeight(
  1. int iRow
)

Returns the height of the specified row.

// Create a new Excel Document.
final Workbook workbook = Workbook(1);
// Accessing sheet via index.
final Worksheet sheet = workbook.worksheets[0];
sheet.getRangeByName('A1');
// get row height.
print(sheet.getRowHeight(1));
// Save and dispose workbook.
final List<int> bytes = workbook.saveAsStream();
File('Output.xlsx').writeAsBytes(bytes);
workbook.dispose();

Implementation

double getRowHeight(int iRow) {
  return _innerGetRowHeight(iRow, true);
}