Skip to main content

TdxSpreadSheetResetAllPageBreaks Class

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

Declaration

TdxSpreadSheetResetAllPageBreaks = class(
    TdxSpreadSheetCustomPrintingAction
)

Remarks

This class does not introduce any new public members. This action object’s Execute function call removes all custom page breaks from the active worksheet.

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

  • An in-place cell editor is inactive (the active worksheet’s IsEditing property returns False);

  • The active worksheet has at least one custom row or column page break.

To localize the caption and hint of UI elements linked to a TdxSpreadSheetResetAllPageBreaks action object, use the sdxSpreadSheetActionResetAllPageBreaksCaption and sdxSpreadSheetActionResetAllPageBreaksHint resource strings, respectively.

See Also