Skip to main content

InsertFloatingObjectPictureCommand Class

Inserts a picture from a file. The picture becomes a floating object.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v14.2.Core.dll

#Declaration

public class InsertFloatingObjectPictureCommand :
    InsertFloatingObjectCommandBase

#Remarks

Unlike the InsertPictureCommand command, which results in a picture inserted inline, the InsertFloatingObjectPictureCommand command is used to insert a floating picture.

The InsertFloatingObjectPictureCommand command invokes a file selection dialog that enables you to specify a picture. The picture is inserted into a document and anchored to the currently selected position and paragraph.

Currently, you cannot specify an image for a command to create floating object completely behind the scenes. Use the SubDocument.InsertPicture API method instead.

#Inheritance

Object
Command
DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
RichEditCommand
RichEditMenuItemSimpleCommand
MultiCommand
DevExpress.XtraRichEdit.Commands.TransactedMultiCommand
DevExpress.XtraRichEdit.Commands.TransactedInsertObjectCommand
DevExpress.XtraRichEdit.Commands.InsertFloatingObjectCommandBase
InsertFloatingObjectPictureCommand
See Also