Fires when the print or print preview layout process finishes filling the current layoutrect object with content from the source document.
dhtml语法
inline html | <element onlayoutcomplete = "handler" ... >
| All platforms |
---|
Event property | object.onlayoutcomplete = handler | JScript 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
Bubbles | Yes |
---|
Cancels | Yes |
---|
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.
是否符合公共标准
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 |
|