Contents Index Topic Contents | ||
Previous Topic: IHTMLRuleStyle::put_pageBreakBefore Next Topic: IHTMLRuleStyle::put_pageBreakAfter |
IHTMLRuleStyle::get_pageBreakBefore
HRESULT get_pageBreakBefore( BSTR *p );Retrieves the value of the CSS page-break-before 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 before the element only if necessary. always Always insert a page break before the element. left Insert one or two page breaks before the element until a blank left page is reached. right Insert one or two page breaks before the element until a blank right page is reached. - The variable receives NULL if the attribute is not set. See page-break-before for details.
See also put_pageBreakBefore
IHTMLRuleStyle::put_pageBreakBefore
HRESULT put_pageBreakBefore( BSTR v );Sets the value of the CSS page-break-before attribute for the element. The attribute determines whether a page break occurs before 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 before the element only if necessary. always Always insert a page break before the element. left Insert one or two page breaks before the element until a blank left page is reached. right Insert one or two page breaks before the element until a blank right page is reached. - See page-break-before for details.
See also get_pageBreakBefore
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.