PageHeader object, PageFooter object, ReportHeader object, ReportHeader object, Body object
Returns or sets the value on where to page break in a report. A page break cannot be inserted before a Report Header Group, Page Header, Body or Page Footer.
When using this property and the SuspendCalculation (Property) is true, use the Recalculate (Method) to recalculate the Report section. |
The PageBreak (Property) uses the BqPageBreak constant group which consists of these values:
bqPageBreakBoth
bqPageBreakAfter
bqPageBreakBefore
bqPageBreakNone
This example shows how to insert a page break after the Report Header group:
ActiveDocument.Sections["Report"].ReportHeader.PageBreak = bqPageBreakAfter