Check out example codes for ".setRowHeights google script". It will help you in understanding the concepts better.

Code Example 1

var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];

// Sets the first three rows to a height of 20 pixels
sheet.setRowHeights(1, 3, 20);

Learn ReactJs, React Native from akashmittal.com