Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Overwrites an image on the text selection.
C++ Information
Command group CGID_MSHTML (defined in mshtmhst.h) Symbolic constant IDM_IMAGE User interface Optional. This command displays a dialogue box if the nCmdExecOpt argument of IOleCommandTarget::Exec is set to MSOCMDEXECOPT_DODEFAULT, MSOCMDEXECOPT_PROMPTUSER, or NULL. It does not display a dialogue box if the argument is set to MSOCMDEXECOPT_DONTPROMPTUSER. IOleCommandTarget::Exec parameters pvaInVARIANT of type VT_BSTR that specifies the path and file name of the image to insert. If the command displays a dialogue box, this parameter is ignored.pvaOut Set to NULL.Header file mshtmcid.h Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.
Remarks
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.