InsertImage Command

Overwrites an image on the text selection.

Scripting Information

Command InsertImage
User interface Optional. This command displays a dialogue box if the bUserInterface argument of execCommand is set to true or omitted. It does not display a dialogue box if the argument is set to false or null and the vValue parameter is present (even if it's null).
execCommand vValue Optional. String that specifies the path and file name of the image to be inserted. If the command displays a dialogue box, this parameter is ignored.
Applies to execCommandqueryCommandEnabledqueryCommandIndetermqueryCommandStatequeryCommandSupportedqueryCommandValue.


If no path is provided for the image file, the path will default to the location of the current document.

Minimum Availability

Internet Explorer 5 and later.