Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_pageBreakAfter Next Topic: IHTMLRuleStyle::put_cssText |
IHTMLRuleStyle::get_pageBreakAfter
HRESULT get_pageBreakAfter( BSTR *p );Retrieves the value of the CSS page-break-after attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute, which can be one of these strings:
auto Insert a page break after the element only if necessary. always Always insert a page break after the element. left Insert one or two page breaks after the element until a blank left page is reached. right Insert one or two page breaks after the element until a blank right page is reached. - The variable receives NULL if the attribute is not set. See page-break-after for details.
See also put_pageBreakAfter
IHTMLRuleStyle::put_pageBreakAfter
HRESULT put_pageBreakAfter( BSTR v );Sets the value of the CSS page-break-after attribute for the element. The attribute determines whether a page break occurs after the element and on what page the subsequent content should resume.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the value of the attribute. Can be one of these strings:
auto Insert a page break after the element only if necessary. always Always insert a page break after the element. left Insert one or two page breaks after the element until a blank left page is reached. right Insert one or two page breaks after the element until a blank right page is reached. - See page-break-after for details.
See also get_pageBreakAfter
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.