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

...

Description

Excerpt

Returns or sets an int that represents the default spacing between a table's cells that has this formatting. This is the distance in twips between the edge of a cell and the center of its border with an adjacent cell. One twip = (1/20 pt) or (1/1440 in)

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public int DefaultSpacing{ get; set; }
{signature}{signature:</pre></td></tr></tbody></table>
} Public
Signature
vb.net
vb.net

<p>Public Property DefaultSpacing() As Integer
{signature}
{remarks}By default, this is set to zero \(0\) for a new table.

Word equivalent: Table menu > Table Integer</p>
Remarks

By default, this is set to zero (0) for a new table.

Word equivalent: Table menu > Table Properties...

>

Table

tab

>

Options...

button

>

Default

cell

spacing

section

>

Allow

spacing

between

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

cells

Example
Code Block
csharp
csharp
titleC#


          //--- Return DefaultSpacing
          int defaultSpacing = oTableFormatting.DefaultSpacing;

          //--- Set DefaultSpacing to 1/2 inch
          oTableFormatting.DefaultSpacing = 720;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return DefaultSpacing
          Dim defaultSpacing As Integer = oTableFormatting.DefaultSpacing

          '--- Set DefaultSpacing to 1/2 inch
          oTableFormatting.DefaultSpacing = 720
        
{code} {example}