Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns a boolean that represents whether or not Word will allow autofit tables to extend into the margins when in print layout for this document.

Signature
C#
C#

 public boolean GrowTableAutoFit{ get; set; }
Signature
vb.net
vb.net

Public Property GrowTableAutoFit() As Boolean
Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Allow tables to extend into margins

Example
Code Block
csharp
csharp
titleC#
            //--- Return GrowTableAutoFit
          bool growTableAutoFit = cs.GrowTableAutoFit;

          //--- Set GrowTableAutoFit
          cs.GrowTableAutoFit = true;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return GrowTableAutoFit
          Dim growTableAutoFit As Boolean = cs.GrowTableAutoFit

          '--- Set GrowTableAutoFit
          cs.GrowTableAutoFit = True