TdxRichEditControlInsertEquationCaption Class
An action object that corresponds to the InsertEquationCaption command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertEquationCaption = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertEquationCaption action object inserts a SEQ field with the Equation identifier at the caret position within the current document. An end-user can insert a table of equations by using the InsertTableOfEquations command provided by a TdxRichEditControlInsertTableOfEquations action object.
UI elements linked to a TdxRichEditControlInsertEquationCaption 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 the document header or footer.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertEquationCaption action object, use the sdxRichEditCommandInsertEquationCaptionMenuCaption and sdxRichEditCommandInsertEquationCaptionDescription resource strings, respectively.