Sets or returns a boolean that represents whether or not Word will snap text to grid while in a table with inline objects in this document.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public boolean AllowSnapInCells{ get; set; }
</pre></td></tr></table>
<p>Public Property AllowSnapInCells() As Boolean</p>

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Don't snap text to grid inside table with Inline objects


          //--- Return AllowSnapInCells
          bool allowSnapInCells = cs.AllowSnapInCells;

          //--- Set AllowSnapInCells
          cs.AllowSnapInCells = true;
        

          '--- Return AllowSnapInCells
          Dim allowSnapInCells As Boolean = cs.AllowSnapInCells

          '--- Set AllowSnapInCells
          cs.AllowSnapInCells = True