IHTMLStyle::get_pageBreakAfterIHTMLStyle::get_pageBreakAfter*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_paddingTop
*Next Topic: IHTMLStyle::get_pageBreakBefore

IHTMLStyle::get_pageBreakAfter


HRESULT get_pageBreakAfter( 
    BSTR *p 
);

Retrieves the value of the CSS page-break-after attribute for the element.

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.
See page-break-after for details. The variable receives NULL if the attribute is not set.

See also put_pageBreakAfter

Up Top of Page


IHTMLStyle::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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.