Skip to end of metadata
Go to start of metadata

Description

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

C#
 public boolean NoWrap{ get; set; }
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

Examples

C#

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

          //--- Set NoWrap
          cell.NoWrap = true;
        
vb.net

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

          '--- Set NoWrap
          cell.NoWrap = True
        
  • No labels