Compartilhar via


__IE_ContentSelectionUrl property

Retrieves a string specifying the URL of a temporary .htm file containing the current selection in the browser.

Syntax

JScript
p = object.__IE_ContentSelectionUrl

 

Property values

Type: String

One of the values in the Property Values section.

Remarks

During printing or previewing, Windows Internet Explorer creates a temporary .htm file containing the current selection if the user has made a selection in the browser. The temporary file is formatted as a Web page, complete with HTML and BODY tags.

Pass this string to a LAYOUTRECT element using the element's contentSrc property or attribute to print or preview only the current selection.

Determine whether the current selection should be displayed by querying the selection property of the TEMPLATEPRINTER behavior.