onlayoutcomplete

HTML (DHTML)

onlayoutcomplete Event

Internet Development Index

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

Syntax

Inline HTML<ELEMENT onlayoutcomplete = "handler" ... > All platforms
Event propertyobject.onlayoutcomplete = handlerJScript only
object.onlayoutcomplete = GetRef("handler")Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = object EVENT = onlayoutcomplete> Internet Explorer only

Event Information

BubblesYes
CancelsYes
To invoke Select the print or print preview option from the file menu of an application hosting MSHTML.
Default action Executes the script associated with this event.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.

Available Properties

altKey Sets or retrieves a value that indicates the state of the ALT key.
altLeft Sets or retrieves a value that indicates the state of the left ALT key.
contentOverflow Retrieves a value that indicates whether the document contains additional content after processing the current LayoutRect object.
ctrlLeft Sets or retrieves the state of the left CTRL key.
shiftLeft Retrieves the state of the left SHIFT key.
srcElement Sets or retrieves the object that fired the event.

Remarks

If the 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.

Standards Information

There is no public standard that applies to this event.

Applies To

BASE, BASEFONT, BGSOUND, BR, COL, DD, DIV, DL, DT, FONT, HEAD, HR, HTML, HTML Comment, LAYOUTRECT, LI, META, OL, OPTION, P, TITLE, UL