Gantt APIMethodsgetTaskHeightOn this pagegetTaskHeight Description Returns the visible height of a task getTaskHeight: (id?: string | number) => numberParameters task - (optional) string | number - the task's id Returns height - (number) - the height of the specified task or, if the id parameter is not specified, the height of the tasks Exampleconst height = gantt.getTaskHeight(); // -> 30