Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

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

Signature
C#
C#
 public boolean PageBreakBefore{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property PageBreakBefore() As Boolean
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Format

menu

>

Paragraph...

>

Line

and

Page

Breaks

tab

>

Pagination

section

>

Page

break

before {remarks} {example}{code:csharp|title=C#}

before

Example
Code Block
csharp
csharp
titleC#


          //--- Return PageBreakBefore
          bool pageBreakBefore = oParagraphFormatting.PageBreakBefore;

          //--- Set PageBreakBefore
          oParagraphFormatting.PageBreakBefore = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return PageBreakBefore
          Dim pageBreakBefore As Boolean = oParagraphFormatting.PageBreakBefore

          '--- Set PageBreakBefore
          oParagraphFormatting.PageBreakBefore = True
        
{code} {example}