Skip to main content

TdxSpreadSheetMergeCellsAndCenter Class

An action object that corresponds to the MergeCellsAndCenter command provided by the Spreadsheet and Report Designer controls.

Declaration

TdxSpreadSheetMergeCellsAndCenter = class(
    TdxSpreadSheetMergeCells
)

Remarks

This class does not introduce any new public members. Executing this action object merges all currently selected cell ranges into individual cells that occupy the same areas. The content within merged cells is centered horizontally at their bottom borders.

VCL SpreadSheet: A Merge Cells and Center Operation Example

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

To split a merged cell, an end-user should select it and execute a TdxSpreadSheetUnmergeCells action object.

See Also