RichEditCommands.insertPicture Property
Gets a command to insert an inline picture stored by the specified web address.
Declaration
get insertPicture(): InsertPictureCommand
Property Value
Type | Description |
---|---|
InsertPictureCommand | An object that provides methods that execute the command and check its state. |
Remarks
Call the execute(imageUrl) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.
var imageUrl = "https://demos.devexpress.com/ASPxImageAndDataNavigationDemos/Content/Images/landscapes/07.jpg";
richEdit.commands.insertPicture.execute(imageUrl);
Refer to the following section for more information: Client Commands.
See Also