SSpread.MaxTextRowHeight Property
Gets the height required to display the text based on the font size set on the line.
This property is an Index Property. Specify the row number for the index.
This property is read-only.
Multi-line cells with the TypeEditMultiLine and TypeTextWordWrap properties are the height required to display all multi-line text relative to the current column width and font size.
You can display all the text in that row by setting the value of this property to the RowHeight property.
The width of the column can be obtained with the MaxTextColWidth property.
The MaxTextCellHeight and MaxTextCellWidth properties allow you to get the optimal size for each cell.
Example of usage
Row = 2;
Col = 3;
Text = "Biz/Browser";
Col = 4;
Text = "Biz/Designer";
FontSize = 16;
print(MaxTextRowHeight(2), "\n");
RowHeight(2) = MaxTextRowHeight(2);
Related Items
MaxTextColWidth, MaxTextCellHeight, MaxTextCellWidth, RowHeight property