Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

onlayoutcomplete event

Fires when the print or print preview layout process finishes filling the current LayoutRect object with content from the source document.

Syntax

HTML Attribute <element onlayoutcomplete = "handler(event)">
Event Property object.onlayoutcomplete = handler;
attachEvent Method object.attachEvent("onlayoutcomplete", handler)
addEventListener Method object.addEventListener("layoutcomplete", handler, useCapture)

Event information

SynchronousNo
BubblesYes
CancelableYes

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

Remarks

If the IHTMLEventObj3::contentOverflow property on the event object is true when this event fires, the event handler should set the nextRect property in order to indicate the next LayoutRect to fill with the source document content.

Executes the script associated with this event.

To invoke this event, do one of the following:

  • Select the print or print preview option from the file menu of an application hosting MSHTML.

The pEvtObj parameter is required for the following interfaces:

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.