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
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:vb.net}
Public Property NoWrap() As Boolean
{signature}
{remarks}This is set to {{false}} by default.

MS Word equivalent: Table menu > Table Properties... > Cell tab > Options... button > Options section > Wrap 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}