Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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