SHDocVw.TWebBrowser.Document
Delphi
property Document: IDispatch read Get_Document;
C++
__property _di_IDispatch Document = {read=Get_Document};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | SHDocVw.pas SHDocVw.hpp |
SHDocVw | TWebBrowser |
Description
Provides access to the Automation interface of the active document.
Use Document to access an IDispatch interface for manipulating the contents of the HTML document through the COM object model. If there is no active document, Document is nil. That is, you must first load a document using the Navigate or Navigate2 method before you can manipulate it using the Document interface.
For more information about this interface, see the document object section of Microsoft's Dynamic HTML reference.