IHTMLStyle::get_pageBreakBeforeIHTMLStyle::get_pageBreakBefore*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_pageBreakAfter
*Next Topic: IHTMLStyle::get_pixelHeight

IHTMLStyle::get_pageBreakBefore


HRESULT get_pageBreakBefore(
    BSTR *p 
);

Retrieves the value of the CSS page-break-before 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 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. The variable receives NULL if the attribute is not set.

See also put_pageBreakBefore

Up Top of Page


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

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


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