Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2018 Microsoft