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 Section.BreakType object that represents the type of break (before) this section. There are 5 types of breaks: Continuous, Column, Page, EvenPage, and OddPage.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public BreakType Break{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
<p>Public Property Break() As BreakType</p>
Remarks

MS Word equivalent: File menu > Page Setup... > Layout tab > Section section > Section start:

Example
Code Block
csharp
csharp
titleC#

          //--- Return Break
          Section.BreakType oBreak = oSection.Break;

          //--- Set BreakType
          oSection.Break = Section.BreakType.Column;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return Break
          Dim oBreakType As Section.BreakType = oSection.Break

          '--- Set BreakType
          oSection.Break = Section.BreakType.Column