Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > ParagraphFormatting > PageBreakBefore

PageBreakBefore Property


C# Signature:

VB.NET Signature:


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.)

MS Word equivalent: Format menu > Paragraph... > Line and Page Breaks tab > Pagination section > Page break before

PageBreakBefore is a read / write property.



Examples:

[csharp]
// Return PageBreakBefore
bool pageBreakBefore = oParagraphFormatting.PageBreakBefore;
// Set PageBreakBefore
oParagraphFormatting.PageBreakBefore(true);
[vbnet]
' Return PageBreakBefore
Dim pageBreakBefore As Boolean = oParagraphFormatting.PageBreakBefore
' Set PageBreakBefore
oParagraphFormatting.PageBreakBefore(True)


Getter

Signature:

public boolean PageBreakBefore

Returns:

boolean A boolean that represents if Word will have a paragraph be the start of a new page.

Setter

Signature:

public void PageBreakBefore boolean before

Type:

boolean



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.