RowHeightCalculator
Overview
RowHeightCalculator is a class in Aspose.Cells FOSS for Python.
Computes effective row heights without mutating the worksheet.
This class declares 5 methods for RowHeightCalculator objects in Python programs.
Available methods include: available_text_width, calculate, column_width_to_points, indent_width_points, should_wrap.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Methods
| Signature | Description |
|---|---|
calculate(worksheet, bounds, ignore_custom_rows) | Calls calculate(worksheet, bounds, ignore_custom_rows) on this RowHeightCalculator instance. |
column_width_to_points(worksheet, column) | Convert an Excel character width to points using the Normal font MDW. |
available_text_width(worksheet, style, width_points) | Return the Excel text box width after padding and indentation. |
indent_width_points(worksheet, style) | Convert an Excel indentation level to a point offset. |
should_wrap(style) | Calls should_wrap(style) on this RowHeightCalculator instance. |