Description
Sets or returns a boolean that represents if Word will have a paragraph be the start of a new page. (It inserts a manual page break before the paragraph.)
C#
public boolean PageBreakBefore{ get; set; }
vb.net
Public Property PageBreakBefore() As Boolean
Remarks
MS Word equivalent: Format menu > Paragraph... > Line and Page Breaks tab > Pagination section > Page break beforeExamples
C#
//--- Return PageBreakBefore
bool pageBreakBefore = oParagraphFormatting.PageBreakBefore;
//--- Set PageBreakBefore
oParagraphFormatting.PageBreakBefore = true;
vb.net
'--- Return PageBreakBefore
Dim pageBreakBefore As Boolean = oParagraphFormatting.PageBreakBefore
'--- Set PageBreakBefore
oParagraphFormatting.PageBreakBefore = True
