_win32_IHTMLDocument2 interface

TBD.

Members

The _win32_IHTMLDocument2 interface inherits from the IUnknown interface. _win32_IHTMLDocument2 also has these types of members:

  • Methods
  • Properties

Methods

The _win32_IHTMLDocument2 interface has these methods.

Method Description
clear

To clear all elements in the current document, use write(""), followed by close.

close

Closes an output stream and forces the sent data to display.

createElement

Creates an instance of the element for the specified tag.

createStyleSheet

Creates a style sheet for the document.

open

Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method.

write

Writes one or more HTML expressions to a document in the specified window.

writeln

Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window.

 

Properties

The _win32_IHTMLDocument2 interface has these properties.

Property Description

bgColor

Deprecated. Sets or retrieves a value that indicates the background color behind the object.

 

 

 

Send comments about this topic to Microsoft

Build date: 1/23/2012