次の方法で共有


CHtmlEditCtrlBase::Image

Overwrites an image on the current selection.

HRESULT Image( 
   LPCTSTR szUrl = NULL  
) const;

Parameters

  • szUrl
    The path and file name of the image to be inserted.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

This method sends the IDM_IMAGE command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class