Geoff Chappell - Software Analyst
An instance of the CImgElement class is created for each IMG tag.
coclass: | HTMLImg | {3050F241-98B5-11CF-BB82-00AA00BDCE0B} |
dispinterface: | DispHTMLImg | {3050F51C-98B5-11CF-BB82-00AA00BDCE0B} |
The table below lists the interface members that the CImgElement class exposes as properties (methods, collections, etc) through its string table in addition to the very many properties that are common to all elements.
Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted. Properties that are listed but not as applying to the img element are shaded yellow.
Property | Attribute | Interface | Member |
---|---|---|---|
align | same | IHTMLImgElement | get_align put_align |
alt | same | IHTMLImgElement | get_alt put_alt |
appendChild | IHTMLDOMNode | appendChild | |
attributes | IHTMLDOMNode | get_attributes | |
border | same | IHTMLImgElement | get_border put_border |
cache | |||
childNodes | IHTMLDOMNode | get_childNodes | |
cloneNode | IHTMLDOMNode | cloneNode | |
complete | IHTMLImgElement | get_complete | |
dataFld | IHTMLDataBinding | get_dataFld put_dataFld |
|
dataFormatAs | IHTMLDataBinding | get_dataFormatAs put_dataFormatAs |
|
dataSrc | IHTMLDataBinding | get_dataSrc put_dataSrc |
|
dynsrc | same | IHTMLImgElement | get_dynsrc put_dynsrc |
fileCreatedDate | IHTMLImgElement | get_fileCreatedDate | |
fileModifiedDate | IHTMLImgElement | get_fileModifiedDate | |
fileSize | IHTMLImgElement | get_fileSize | |
fileUpdatedDate | IHTMLImgElement | get_fileUpdatedDate | |
firstChild | IHTMLDOMNode | get_firstChild | |
hasChildNodes | IHTMLDOMNode | hasChildNodes | |
height | same | IHTMLImgElement | get_height put_height |
href | IHTMLImgElement | get_href | |
hspace | same | IHTMLImgElement | get_hspace put_hspace |
insertBefore | IHTMLDOMNode | insertBefore | |
isMap | same | IHTMLImgElement | get_isMap put_isMap |
lastChild | IHTMLDOMNode | get_lastChild | |
longDesc | same | IHTMLImgElement2 | get_longDesc put_longDesc |
loop | same | IHTMLImgElement | get_loop put_loop |
lowsrc | same | IHTMLImgElement | get_lowsrc put_lowsrc |
mimeType | IHTMLImgElement | get_mimeType put_mimeType |
|
name | same | IHTMLImgElement | get_name put_name |
nameProp | IHTMLImgElement | get_nameProp | |
nextSibling | IHTMLDOMNode | get_nextSibling | |
nodeName | IHTMLDOMNode | get_nodeName | |
nodeType | IHTMLDOMNode | get_nodeType | |
nodeValue | IHTMLDOMNode | get_nodeValue put_nodeValue |
|
onabort | same | IHTMLImgElement | get_onabort put_onabort |
onerror | same | IHTMLImgElement | get_onerror put_onerror |
onload | same | IHTMLImgElement | get_onload put_onload |
ownerDocument | IHTMLDOMNode2 | get_ownerDocument | |
parentNode | IHTMLDOMNode | get_parentNode | |
previousSibling | IHTMLDOMNode | get_previousSibling | |
protocol | IHTMLImgElement | get_protocol | |
removeChild | IHTMLDOMNode | removeChild | |
removeNode | IHTMLDOMNode | removeNode | |
replaceChild | IHTMLDOMNode | replaceChild | |
replaceNode | IHTMLDOMNode | replaceNode | |
src | same | IHTMLImgElement | get_src put_src |
start | same | IHTMLImgElement | get_start put_start |
swapNode | IHTMLDOMNode | swapNode | |
uniqueID | IHTMLUniqueName | get_uniqueID | |
uniqueNumber | IHTMLUniqueName | get_uniqueNumber | |
useMap | same | IHTMLImgElement | get_useMap put_useMap |
vrml | same | IHTMLImgElement | get_vrml put_vrml |
vspace | same | IHTMLImgElement | get_vspace put_vspace |
width | same | IHTMLImgElement | get_width put_width |