contentDocument Property

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

Syntax

XML N/A
Scripting [ oDoc = ] LAYOUTRECT.contentDocument

Possible Values

oDoc Object that receives the reference to the document object of the page being printed or print-previewed.

The property is read-only. The property has no default value.

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.

Applies To

LAYOUTRECT

See Also

contentSrc

Community Additions

ADD
Show:
© 2014 Microsoft