Skip to main content

TdxSpreadSheetRemovePageBreak Class

An action object corresponding to the RemovePageBreak command that the Spreadsheet and Report Designer controls provide.

Declaration

TdxSpreadSheetRemovePageBreak = class(
    TdxSpreadSheetCustomPrintingAction
)

Remarks

This class does not introduce any new public members. This action object’s Execute function call removes a custom column and/or row page break immediately to the left of and/or above the focused cell, respectively. This command does not affect any other page breaks on the same worksheet.

UI elements linked to a TdxSpreadSheetRemovePageBreak action object are enabled only if an in-place cell editor is inactive (that is, the active worksheet‘s IsEditing property returns False).

To localize the caption and hint of UI elements linked to a TdxSpreadSheetRemovePageBreak action object, use the sdxSpreadSheetActionRemovePageBreakCaption and sdxSpreadSheetActionRemovePageBreakHint resource strings, respectively.

Note

Set the control’s OptionsView.PrintAreas property to True to visualize custom page breaks.

See Also