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

Returns or sets a boolean that represents if Word will prevent text from wrapping in this table cell.

Signature
C#
C#
 public boolean NoWrap{ get; set; }
Signature
vb.net
vb.net
Public Property NoWrap() As Boolean
Remarks

This is set to false by default.

MS Word equivalent: Table menu > Table Properties... > Cell tab > Options... button > Options section > Wrap text

Example
Code Block
csharp
csharp
titleC#

          //--- Return NoWrap
          bool noWrap = cell.NoWrap;

          //--- Set NoWrap
          cell.NoWrap = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return NoWrap
          Dim noWrap As Boolean = cell.NoWrap

          '--- Set NoWrap
          cell.NoWrap = True