IHTMLDocument7 interface
Provides methods and properties for working with documents. This interface extends the IHTMLDocument6 interface.
Members
The IHTMLDocument7 interface inherits from the IDispatch interface. IHTMLDocument7 also has these types of members:
- Methods
- Properties
Methods
The IHTMLDocument7 interface has these methods.
Method | Description |
---|---|
adoptNode | Tries to move a node from one document to the document that the document object displays. |
createAttribute | Creates an IHTMLDOMAttribute interface with a specified IHTMLDOMAttribute2::name. |
createAttributeNS | Creates a reference to an attribute object that is associated with an XML namespace. |
createCDATASection | Creates a CDATA section that contains the specified text. |
createElement | Creates an instance of the element for the specified tag. |
createElementNS | Creates an element from the specified namespace. |
createProcessingInstruction | Creates a processing instruction for an XML parser. |
getElementsByClassName | Gets a collection of objects that are based on the value of the class attribute. |
getElementsByTagNameNS | Gets a collection of nodes that match an element name from the specified namespace. |
getSelection | Returns an object that represents the current selection of the document. |
hasAttributes | Determines whether one or more attributes exist for the object. |
importNode | Imports a node from another document into the the document that the document object displays. |
normalize | Merges adjacent DOM objects to produce a normalized document object model. |
Properties
The IHTMLDocument7 interface has these properties.
Property | Description |
---|---|
Gets an interface pointer to the document body object. |
|
Gets the name of the character set that is used to encode the document. |
|
Sets or gets the string value of a cookie. |
|
Gets a reference to the window object for the document. |
|
Gets the head element of the document. |
|
Gets the character encoding that is used for the text that is loaded into the document object. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onblur event. |
|
Sets or retrieves a pointer to the event handler function associated with the oncanplaythrough event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondrag event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragend event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragenter event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragleave event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondragover event. |
|
Sets or gets a pointer to the event handler function associated with the HTMLFrameSiteEvents::ondrop event. |
|
Sets or retrieves a pointer to the event handler function associated with the ondurationchange event. |
|
Sets or retrieves a pointer to the event handler function associated with the onemptied event. |
|
Sets or retrieves a pointer to the event handler function associated with the onended event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onfocus event. |
|
Sets or retrieves a pointer to the event handler function associated with the oninput event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onload event. The HTMLFrameSiteEvents::onload event occurs immediately after the browser loads the object. |
|
Sets or retrieves a pointer to the event handler function associated with the onloadeddata event. |
|
Sets or retrieves a pointer to the event handler function associated with the onloadedmetadata event. |
|
Sets or retrieves a pointer to the event handler function associated with the onloadstart event. |
|
Sets or retrieves a pointer to the event handler function associated with HTMLDocumentEvents4::onmssitemodejumplistitemremoved event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLDocumentEvents4::onmsthumbnailclick event. |
|
Sets or retrieves a pointer to the event handler function associated with the onpause event. |
|
Sets or retrieves a pointer to the event handler function associated with the onplaying event. |
|
Sets or retrieves a pointer to the event handler function associated with the onprogress event. |
|
Sets or retrieves a pointer to the event handler function associated with the onratechange event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onscroll event. |
|
Sets or retrieves a pointer to the event handler function associated with the onseeked event. |
|
Sets or retrieves a pointer to the event handler function associated with the onseeking event. |
|
Sets or retrieves a pointer to the event handler function associated with the onstalled event. |
|
Sets or retrieves a pointer to the event handler function associated with the onsuspend event. |
|
Sets or retrieves a pointer to the event handler function associated with the ontimeupdate event. |
|
Sets or retrieves a pointer to the event handler function associated with the onvolumechange event. |
|
Sets or retrieves a pointer to the event handler function associated with the onwaiting event. |
|
Gets a reference to the container object of the window. |
|
Gets a value that represents the character encoding that is specified in the declaration of an XML document. |
|
Gets or sets the value of the standalone attribute in the declaration of an XML document. |
|
Gets or sets the version attribute that is specified in the declaration of an XML document. |
Requirements
Minimum supported client |
Windows Vista with SP1, Windows 7 |
Minimum supported server |
Windows Server 2008 R2 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |