officefileapi-devexpress-dot-xtrarichedit-dot-commands-7a5259b6.md
Prompts for the file location, and inserts a picture from a file.
Namespace : DevExpress.XtraRichEdit.Commands
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
public class InsertPictureCommand :
TransactedInsertObjectCommand
Public Class InsertPictureCommand
Inherits TransactedInsertObjectCommand
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.
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