Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns a boolean that represents whether or not Word will attempt to keep a table created with this formatting on one page.

Signature
C#
C#

 public boolean CantSplit{ get; set; }
Signature
vb.net
vb.net

Public Property CantSplit() As Boolean
Example
Code Block
csharp
csharp
titleC#
            //--- Return CantSplit
          boolean cantSplit = oTableFormatting.CantSplit;

          //--- Set CantSplit
          oTableFormatting.CantSplit = true;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return CantSplit
          Dim cantSplit As Boolean = oTableFormatting.CantSplit

          '--- Set CantSplit
          oTableFormatting.CantSplit = True