Skip to main content

TdxRichEditControlInsertPageBreak Class

An action object that corresponds to the InsertPageBreak command in the Rich Edit control.

Declaration

TdxRichEditControlInsertPageBreak = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlInsertPageBreak action object inserts a page break at the current caret position. If there is a text selection within the current document, it is replaced by the column break.

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

  • The Rich Edit control’s ReadOnly property is set to False.
  • The current selection (i.e., the caret or text selection) is not located within a header, footer, floating object, or table.
See Also