1 out of 1 rated this helpful - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.