TdxRichEditControlInsertPicture Class
An action object that corresponds to the InsertPicture command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertPicture = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertPicture action object invokes the Open dialog that allows an end-user to select a source image file for embedding into the current document.
UI elements linked to a TdxRichEditControlInsertPicture action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The Rich Edit control’s Options.DocumentCapabilities.InlinePictures property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertPicture action object, use the sdxRichEditCommandInsertPictureMenuCaption and sdxRichEditCommandInsertPictureDescription resource strings, respectively.