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}Sets or returns an {{int}} that represents the gutter width for this section. The gutter adds space to the margin. Gutters are used when a document needs additional space to allow for binding. One twip = \(1/20 pt\) or \(1/1440 in\){excerpt}
{signature:C#}
 public int GutterWidth{ get; set; }
{signature}{signature:vb.net}
Public Property GutterWidth() As Integer
{signature}
{remarks}Gutter width may not be smaller than 0" \(0 twips\) or larger than 22" \(31680 twips\). Values beyond these will be automatically adjusted.

MS Word equivalent: File menu > Page Setup... > Margins tab > Gutter: \-\- \(Make sure Apply to: This section is selected\)

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

          //--- Return GutterWidth
          int gutterWidth = oSection.GutterWidth;

          //--- Set GutterWidth to 1/2 inch
          oSection.GutterWidth = 720;
        {code}
{code:vb.net|title=vb.net}

          '--- Return GutterWidth
          Dim gutterWidth As Integer = oSection.GutterWidth

          '--- Set GutterWidth to 1/2 inch
          oSection.GutterWidth = 720
        {code}

{example}