Skip to main content

InsertPictureCommand Class

Prompts for the file location, and inserts a picture from a file.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public class InsertPictureCommand :
    TransactedInsertObjectCommand

Remarks

Use the DocumentImageCollection.Insert method to insert a picture. Inline pictures in the document are specified by DocumentImage objects which are stored in the DocumentImageCollection collection, accessible using the SubDocument.Images property.

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
InsertPictureCommand
See Also