Gets a string indicating whether a page break is allowed to occur inside the object.
HRESULT IHTMLCurrentStyle5::get_pageBreakInside(BSTR *p);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
auto Default. Neither force nor forbid a page break inside the object. avoid Forbid a page break inside the object, if possible. empty string Behaves the same as
inherit Inherit the value of the same property for the object's parent.
Returns S_OK if successful, or an error value otherwise.
This property applies when the document is printed.
Normally, Windows Internet Explorer attempts to avoid page breaks inside tables, blocks with borders, and positioned or floated elements. The IHTMLCurrentStyle5::pageBreakInside attribute extends this behavior to other elements. A value of
avoidinstructs the browser to start the element on the following page if there is not enough room for it on the current page.
Page-break behavior is inherited from parent objects. A potential page-break location is also influenced by the page-break-after attribute of the preceding object, and/or the page-break-before attribute of the following object.
This property requires Internet Explorer to be in IE8 Standards mode rendering.