Property

Method

Event

 

 

InsertImage

Inserts an image and the image description (Alt text).

Syntax

    HRESULT InsertImage(
    BSTR src,
    BSTR alt
    );

Parameters

src

[in] URL of the image file.

alt

[in] Description of the image (String for "Alt text").

Return Values

0 (always)

Sample Codes

VBScript

function TestBtn_OnClick
   dim object
   set object = document.editForm
object.wec.InsertImage "http://www.namo.com/images/m_quick_02.gif",
"Web Editor Control Logo"
end function