Skip to main content

TdxSpreadSheetAutoFitRowHeight Class

An action object that implements the AutoFitRowHeight end-user command in Spreadsheet and Report Designer-based applications.

Declaration

TdxSpreadSheetAutoFitRowHeight = class(
    TdxSpreadSheetCustomEditAction
)

Remarks

This class does not introduce any new public members. Its overridden Execute function call adjusts the height of all rows that intersect the current cell selection to fit the highest cell value in each row.

The AutoFitRowHeight command does not affect a row if:

  • The row is empty.
  • The row and its highest cell value already have the same height.

UI elements linked to a TdxSpreadSheetAutoFitRowHeight action object are enabled only if the following conditions are met:

See Also