Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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

 text

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

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

          //--- Set NoWrap
          cell.NoWrap = true;
        
{code}
{code:vb.net
|title=vb.net
}

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

          '--- Set NoWrap
          cell.NoWrap = True
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns or sets a {{boolean}} that represents if Word will prevent text from wrapping in this table cell.{excerpt}
{signature:C#}
 public boolean NoWrap{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property NoWrap() As Boolean
Remarks

This is set to false by default.

MS Word equivalent: Table menu > Table
{signature}
{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
csharpcsharp
titleC#
Code Block
vb.nettitle