TdxRichEditControlInsertFloatingObjectPicture Class
An action object that corresponds to the InsertFloatingObjectPicture command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertFloatingObjectPicture = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertFloatingObjectPicture action object invokes the Open dialog allowing an end-user to pick and insert a picture as a floating object anchored to the selected position and paragraph within the current document.
UI elements linked to a TdxRichEditControlInsertFloatingObjectPicture 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.FloatingObjects property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
The caret or text selection is not located within a floating text box.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertFloatingObjectPicture action object, use the sdxRichEditCommandInsertFloatingObjectPictureMenuCaption and sdxRichEditCommandInsertFloatingObjectPictureDescription resource strings, respectively.