Back to Devexpress

TdxRichEditControlInsertPageNumberField Class

vcl-dxrichedit-dot-actions-1ad686bd.md

latest2.4 KB
Original Source

TdxRichEditControlInsertPageNumberField Class

An action object that corresponds to the InsertPageNumberField command provided by the Rich Edit control.

Declaration

delphi
TdxRichEditControlInsertPageNumberField = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlInsertPageNumberField action object inserts a PAGE field displaying the current page number. This action inserts the created document field at the current caret position (if text is selected, the field replaces it within the document).

UI elements linked to a TdxRichEditControlInsertPageNumberField action object are Enabled only if the following conditions are met:

  • The Rich Edit control’s ReadOnly property is set to False.
  • The Print Layout document view is active.
  • The header or footer editing mode is active.

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlInsertPageNumberField

See Also

TdxRichEditControlInsertPageCountField Class

TdxRichEditControlInsertPageNumberField Members

dxRichEdit.Actions Unit