|
|
|
|
|
Document (Property) In french: Document
The Document property is used to identify or modify the HTML document associated with an HTML Display control or an HTML Editor control. // Retrieve the HTML code of the Body sHTMLCode is string = HTM_MyDocument.Document.Body.OuterHTML
Syntax
Identifying the HTML document Hide the details
<Result> = <Control used>.Document
<Result>: htmlDocument variable htmlDocument variable that contains the HTML document associated with the control. <Control used>: Control name Name of the control used: - HTML Display control.
- HTML Editor control.
Modifying the HTML document associated with an HTML Display control Hide the details
<Control used>.Document = <HTML document>
<Control used>: Control name Name of the control used: - HTML Display control.
- HTML Editor control.
<HTML document>: htmlDocument variable Name of the htmlDocument variable that contains the HTML document associated with the control. Remarks - This property returns a copy of the document.
- The changes made to this copy will not be reflected in the control.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|