TdxRichEditControlInsertFloatingObjectPicture Class
In This Article
An action object that corresponds to the InsertFloatingObjectPicture command provided by the Rich Edit control.
#Declaration
Delphi
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.
#Inheritance
TObject
TPersistent
TComponent
TBasicAction
TContainedAction
TCustomAction
TAction
TdxBasicAction
TdxRichEditControlAction
TdxRichEditControlInsertFloatingObjectPicture
See Also