contentDocument property

Retrieves the document object of the page being printed or print-previewed.

Syntax

JScript
pDoc = object.contentDocument

 

Property values

Type: Object

the reference to the document object of the page being printed or print-previewed.

Remarks

The document object retrieved by this property is a scripting-disabled copy of the document object displayed in the WebBrowser control.

The contentDocument property retrieves the same reference as the __IE_BrowseDocument.

For security reasons, the contentDocument property is enabled only when embedded in a print template; otherwise, this element is disabled.

See also

LayoutRect
contentSrc

 

 

Show: